Questions
Answer the following questions to test your knowledge of this chapter:
- What is the main difference between
add_custom_command
andexecute_process
? - What are the two signatures of
add_custom_command
used for? - What is the problem with the
PRE_BUILD
,PRE_LINK
, andPOST_BUILD
options ofadd_custom_command
? - What are the two ways of defining variables so that they can be substituted with
configure_file
? - How can the substitution behavior of
configure_file
be controlled? - What are the two flags for the CMake command-line tool to execute tasks?