Cmake cheat sheet
1 min read
This article is work in progress, and mostly for my own reference.
List all CMake variables
From the build directory
1cmake -LAH ..
Make release build
1cmake -DCMAKE_BUILD_TYPE=Release
Build from cmake
1cmake --build . --config Debug
2cmake --build . --config Release