AIcademics
Gallery
Toggle theme
Sign In
How to build a large C/C++ project
Unit 1
Basics of Cmake
Introduction to CMake
CMake Variables and Commands
CMake Build Process
CMake Modules and Packages
CMake Best Practices
Unit 2
Make versus Ninja
Introduction to Make and Ninja
Make Build System in Depth
Ninja Build System in Depth
Unit 1 • Chapter 2
CMake Variables and Commands
Summary
false
Concept Check
What command in CMake is used to set a variable value?
assign
set
declare
add
In CMake, which command is used to get the value of a variable?
retrieve{VAR_NAME}
get{VAR_NAME}
${VAR_NAME}
value{VAR_NAME}
Which command is used to display a message in CMake?
message
output
print
show
What command is used to conditionally include a file in CMake?
include
addfile
insert
attach
In CMake, what command is used to define a function?
function
method
procedure
routine
Check Answer
Previous
Introduction to CMake
Next
CMake Build Process