diff options
author | Brad King <brad.king@kitware.com> | 2014-03-20 13:22:14 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-03-20 13:22:14 (GMT) |
commit | fb60cf46b6a7bcd1545cfb6f2e41ab3f72e7df55 (patch) | |
tree | 165efc24176e5605fcd73ca5acb4030f44ee1755 /Tests | |
parent | 86b003c3c682c3d3ec42d73a183c695f04d0ddb2 (diff) | |
parent | 84a423040686fb5855cbe65d4aa4e209dc4ca870 (diff) | |
download | CMake-fb60cf46b6a7bcd1545cfb6f2e41ab3f72e7df55.zip CMake-fb60cf46b6a7bcd1545cfb6f2e41ab3f72e7df55.tar.gz CMake-fb60cf46b6a7bcd1545cfb6f2e41ab3f72e7df55.tar.bz2 |
Merge topic 'fix-out-of-date-CTestTestMemcheck'
84a42304 Tests: Prevent unnecessary rebuilds in CTestTestMemcheck
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CTestTestMemcheck/NoLogDummyChecker/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Tests/CTestTestMemcheck/NoLogDummyChecker/CMakeLists.txt b/Tests/CTestTestMemcheck/NoLogDummyChecker/CMakeLists.txt index c5aa2cd..47d6a24 100644 --- a/Tests/CTestTestMemcheck/NoLogDummyChecker/CMakeLists.txt +++ b/Tests/CTestTestMemcheck/NoLogDummyChecker/CMakeLists.txt @@ -1,7 +1,12 @@ # A dummy checker implementation that does not write the requested output file # so it triggers an error for every checker. -file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/ret0.c" "int main(){return 0;}\n") +file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/ret0.c.in" "int main(){return 0;}\n") + +configure_file( + "${CMAKE_CURRENT_BINARY_DIR}/ret0.c.in" + "${CMAKE_CURRENT_BINARY_DIR}/ret0.c" + ) foreach(_pseudo IN ITEMS valgrind purify BC) add_executable(pseudonl_${_pseudo} "${CMAKE_CURRENT_BINARY_DIR}/ret0.c") |