Template project for developing C++ applications.
This project makes use of CMake Presets to simplify the process of configuring the project.
To build the project, please make sure you have vcpkg
installed and properly set up at least with the VCPKG_ROOT
environment variable pointing
to the right place.
cmake --list-presets=all
cmake --preset=<configurePreset-name>
cmake --build --preset=<buildPreset-name>
ctest --preset=<testPreset-name>
-
Sourcing the Environment
-
If you're building with Ninja and the Visual C++ toolset on Windows, set the environment before CMake is called to generate the build system. You can do it by calling vcvarsall.bat with the
architecture
argument./path/to/vcvarsall.bat x64
-