Skip to content

emrekovanci/Template-OpenGL

Repository files navigation

ci

Template project for developing OpenGL applications.

CMake Presets

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.

List Presets

cmake --list-presets=all

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

Configure & Build

cmake --preset=<configurePreset-name>
cmake --build --preset=<buildPreset-name>