Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 390 Bytes

File metadata and controls

25 lines (15 loc) · 390 Bytes

CMake tutorial

A short list showing the main commands using cmake in command line

Generating and building a project

Considering you are in the root directory of the project (the one that has the main CMakeLists.txt).

Generate the project

mkdir build
cd build
cmake ..

Build the project

Assuming you are in the build directory:

cmake --build .