mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 13:20:47 -06:00
Each source compilation generates a dependencies file. These dependencies files are consolidated in one file per target. This consolidation is done as part of command 'cmake -E cmake_depends` launched before evaluation of makefile dependency graph. The consolidation uses the same approach as `CMake` dependencies management. Fixes: #21321
11 lines
331 B
CMake
11 lines
331 B
CMake
|
|
if (CHECK_TARGET_MESSAGES)
|
|
if (NOT actual_stdout MATCHES "Built target CustomTarget")
|
|
set (RunCMake_TEST_FAILED "Not found expected 'Built target' message.")
|
|
endif()
|
|
else()
|
|
if (actual_stdout MATCHES "Built target CustomTarget")
|
|
set (RunCMake_TEST_FAILED "Found unexpected 'Built target' message.")
|
|
endif()
|
|
endif()
|