mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 12:49:36 -06:00
If cross-config mode is used, and a target depends on another target as well as a custom command, we don't want the custom command to also depend on the depended target, as that would build targets unnecessarily. Fix this behavior.
45 lines
1.3 KiB
CMake
45 lines
1.3 KiB
CMake
check_files("${RunCMake_TEST_BINARY_DIR}"
|
|
INCLUDE
|
|
${CONFIG_FILES}
|
|
${GENERATED_FILES}
|
|
|
|
${TARGET_FILE_generator_Debug}
|
|
${TARGET_OBJECT_FILES_generator_Debug}
|
|
|
|
${TARGET_FILE_generatorlib_Debug}
|
|
${TARGET_LINKER_FILE_generatorlib_Debug}
|
|
${TARGET_OBJECT_FILES_generatorlib_Debug}
|
|
|
|
${TARGET_OBJECT_FILES_generatorobj_Debug}
|
|
|
|
${TARGET_FILE_generator_Release}
|
|
${TARGET_OBJECT_FILES_generator_Release}
|
|
|
|
${TARGET_FILE_generated_Release}
|
|
${TARGET_OBJECT_FILES_generated_Release}
|
|
|
|
${TARGET_FILE_generatorlib_Release}
|
|
${TARGET_LINKER_FILE_generatorlib_Release}
|
|
${TARGET_OBJECT_FILES_generatorlib_Release}
|
|
|
|
${TARGET_OBJECT_FILES_generatorobj_Release}
|
|
|
|
${TARGET_OBJECT_FILES_emptyobj_Release}
|
|
|
|
EXCLUDE
|
|
${TARGET_OBJECT_FILES_generated_Debug}
|
|
${TARGET_OBJECT_FILES_emptyobj_Debug}
|
|
|
|
${TARGET_OBJECT_FILES_generator_MinSizeRel}
|
|
${TARGET_OBJECT_FILES_generated_MinSizeRel}
|
|
${TARGET_OBJECT_FILES_generatorlib_MinSizeRel}
|
|
${TARGET_OBJECT_FILES_generatorobj_MinSizeRel}
|
|
${TARGET_OBJECT_FILES_emptyobj_MinSizeRel}
|
|
|
|
${TARGET_OBJECT_FILES_generator_RelWithDebInfo}
|
|
${TARGET_OBJECT_FILES_generated_RelWithDebInfo}
|
|
${TARGET_OBJECT_FILES_generatorlib_RelWithDebInfo}
|
|
${TARGET_OBJECT_FILES_generatorobj_RelWithDebInfo}
|
|
${TARGET_OBJECT_FILES_emptyobj_RelWithDebInfo}
|
|
)
|