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 2)
|
|
set(RunCMake_TEST_FAILED "Expected stamp '2' but got: '${content}'")
|
|
endif()
|
|
|
|
file(READ ${output} content)
|
|
if(NOT content STREQUAL 2)
|
|
set(RunCMake_TEST_FAILED "Expected output '2' but got: '${content}'")
|
|
endif()
|