Skip to content

Working build and debug configuration for SFML using C++ in VSCode, using extensions C/C++ and CodeLLDB

License

Notifications You must be signed in to change notification settings

Reesy/sfml-vscode-project-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SFML_VSCODE_PROJECT_TEMPLATE

This is an example project which will let you create SFML projects quickly, it has a very simple CMake build system.

How to clone:

git clone --recurse-submodules https://github.com/Reesy/sfml_vscode_project_template

This project imports it's dependency on SFML via a git submodule in the external_resources folder.

Requirements
CMake -- required to build this project

To build a release (on OSX):

cmake .
make

To build with debug symbols (on OSX):

cmake -DCMAKE_BUILD_TYPE=Debug .
make
1. OpenAL is required to run the application
2. The 'resources' folder needs to exist in the same directory as the .exe file (on OSX it will be automatically bundled into the app

This project comes with a .vscode folder prebundled to make debugging easier, for this to work two plugins are necessary

Recommended Plugins
C/C++ Plugin
CodeLLDB*

*CodeLLDB is only recommended for debugging on modern OSX versions

SFML can be found http://www.sfml-dev.org

About

Working build and debug configuration for SFML using C++ in VSCode, using extensions C/C++ and CodeLLDB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published