CMake 3.31: Target Usage Requirements and Dependency Graphs
Choose one answer. All questions are included, with explanations after checking. No time limit. Training target: 21/26. An applied test for C and C++ developers using CMake 3.31: trace compile requirements through target graphs, diagnose private static dependencies, design header-only interfaces, and distinguish build-tree and installed include paths. Examples assume modern target commands and policies set by cmake_minimum_required(VERSION 3.31). This is a focused topic test, not a complete CMake course. Sources: https://cmake.org/cmake/help/v3.31/manual/cmake-buildsystem.7.html https://cmake.org/cmake/help/v3.31/command/target_link_libraries.html https://cmake.org/cmake/help/v3.31/command/target_include_directories.html https://cmake.org/cmake/help/v3.31/command/target_compile_definitions.html https://cmake.org/cmake/help/v3.31/prop_tgt/INTERFACE_INCLUDE_DIRECTORIES.html https://cmake.org/cmake/help/v3.31/command/add_dependencies.html https://cmake.org/cmake/help/v3.31/prop_tgt/INTERFACE_LINK_LIBRARIES.html https://cmake.org/cmake/help/v3.31/prop_tgt/COMPILE_DEFINITIONS.html https://cmake.org/cmake/help/v3.31/prop_tgt/INTERFACE_COMPILE_DEFINITIONS.html https://cmake.org/cmake/help/v3.31/command/target_compile_features.html https://cmake.org/cmake/help/v3.31/variable/CMAKE_DEBUG_TARGET_PROPERTIES.html https://cmake.org/cmake/help/v3.31/manual/cmake-generator-expressions.7.html