Files
CMake/Tests/RunCMake/NinjaMultiConfig/ExcludeFromAll-all-build-check.cmake
Joerg Bornemann 2cdaf43d96 Allow generator expressions in the EXCLUDE_FROM_ALL target property
This allows for setting EXCLUDE_FROM_ALL, conditional on the build
configuration. However, only the Ninja Multi-Config generator supports
different property values per config. All other multi-config
generators will yield an error in that situation.

Fixes: #20923
2020-07-21 17:16:26 +02:00

10 lines
251 B
CMake

check_files("${RunCMake_TEST_BINARY_DIR}"
INCLUDE
${TARGET_FILE_release_only_tool_Release}
${TARGET_EXE_FILE_release_only_tool_Release}
EXCLUDE
${TARGET_FILE_release_only_tool_Debug}
${TARGET_EXE_FILE_release_only_tool_Debug}
)