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
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