CMake Flashcards
1
Q
what two steps does CMake consist of?
A
configure step: runs the CMakeLists.txt file, defines targets
generate step: runs a generator
2
Q
How does one run cmake from the command line?
A
cd into build dir
run cmake “path to source folder (where CMakeLists.txt lies)”
3
Q
when can the make command be run?
A
If a Makefile exists
4
Q
How does one set up CMake for a project?
A
create build dirs
cd into build dirs
run cmake “source path” “options”
5
Q
How is CMake set up in ~/dev?
A
through make_build_irs.sh script