CMake
Jump to navigation
Jump to search
CMake is a tool for setting up projects for multiple development environments. It is typically used for writing cross-platform C and C++ projects.
Getting Started
Creating a CMake Repo
Building a CMake Repo
mkdir build
cd build
cmake ..
cmake --build .
CLI
Flags:
-G
Set the generator. Run without anything to see a list of generators.- Common generators: "MSYS Makefiles", "Visual Studio 16 2019"