- A starting point for C++ projects using SDL2.
- Uses conan.io to obtain and setup libraries.
pip3 install conan
- Uses CMake for build system creation.
Quickstart
Windows : auto.bat
# or double-click
Linux : ./auto.sh
Manual start
From a command line, at the root of this project.
Make a directory for temporary build files.
mkdir build
Change into that directory
cd build
Ask conan to install libraries, according to conanfile.txt
conan install .. --build missing
Ask CMake to make a build system (build files will be in build
folder. .sln
file for Visual Studio)
- Windows
cmake .. -G "Visual Studio 14 2015 Win64"
- Linux
cmake .. -G "Unix Makefiles
- Any (auto select build system)
cmake ..
Do the build
- Visual Studio, manually
- open the directory and hit build
- Ask CMake to ask the build system to build (OPTIONAL)
cmake --build . --config Debug