mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 21:30:01 -05:00
82d4317503
Define a new 'CMAKE_CONFIGURE_DEPENDS' directory property that projects can use to specify input files to the CMake configuration process. Extend the RunCMake.Configure test to verify that the build system re-runs CMake when this input changes.
10 lines
271 B
CMake
10 lines
271 B
CMake
file(READ ${stamp} content)
|
|
if(NOT content STREQUAL 1)
|
|
set(RunCMake_TEST_FAILED "Expected stamp '1' but got: '${content}'")
|
|
endif()
|
|
|
|
file(READ ${output} content)
|
|
if(NOT content STREQUAL 1)
|
|
set(RunCMake_TEST_FAILED "Expected output '1' but got: '${content}'")
|
|
endif()
|