Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 712 Bytes

File metadata and controls

23 lines (15 loc) · 712 Bytes

CMake

Introduction

CMakePresets.json defines various debug and release configurations, including the compiler flags.

Using Ninja with cmake for faster builds. CmakePreset.json is used to set the default cmake options. Artifacts are stored in the build directory, under build/Debug/src or build/Release/src.

Getting Started

cmake --preset=debug # choose one of the presets in CMakePresets.json
cmake --build --preset=debug # build the project with the debug preset, one of build presets in CMakePresets.json

CTest

CMakePresets.json defines various test configurations.

ctest --preset=debug # run all tests with the debug preset