CMake/Tests/RunCMake/Configure/RerunCMake-build2-check.cmake
Brad King 82d4317503 Allow projects to specify extra inputs to CMake
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.
2014-01-21 14:14:49 -05:00

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()