emrekovanci / Template-CPP

CMake&vcpkg-based

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ci

Template project for developing C++ 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>

About

CMake&vcpkg-based


Languages

Language:CMake 86.1%Language:C++ 13.9%