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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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)”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

when can the make command be run?

A

If a Makefile exists

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How does one set up CMake for a project?

A

create build dirs
cd into build dirs
run cmake “source path” “options”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How is CMake set up in ~/dev?

A

through make_build_irs.sh script

How well did you know this?
1
Not at all
2
3
4
5
Perfectly