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
- Recommended Plugins
- C/C++ Plugin
- CodeLLDB*
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
*CodeLLDB is only recommended for debugging on modern OSX versions
SFML can be found http://www.sfml-dev.org