This repo contains sample projects demonstrating basic CMake functionality.
- Make a build directory
mkdir build
(this isn’t technically required, but it’s good to separate the temp build data from the rest!) - Change to the build directory
cd build
- Tell cmake to generate data for platform-specific build system
cmake ..
- Tell cmake to execute platform-specific build commands
cmake --build .