Skip to content

Glossary: C++ Beyond the Basics

cmake --preset and cmake --build

Also written: cmake --build, cmake --preset

A pair of CMake commands: `cmake --preset debug` configures a project using the settings stored in a named preset, and `cmake --build build/debug` compiles the project in that build folder.

Where the book teaches it

Related terms

PresetCMakeToolchain file