summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Ninja/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-11-15 15:40:12 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-11-15 15:40:33 (GMT)
commit20aab1a4e7e42ac400a34143403a00c0ac0ec947 (patch)
treee01efd6947763c461fc1de40e558661cbc1a577a /Tests/RunCMake/Ninja/RunCMakeTest.cmake
parent59fc717c252fb6613b35ff3a7d2cf01e91ab6a69 (diff)
parent6199637e9540627b03d9018ff53a14f005274607 (diff)
downloadCMake-20aab1a4e7e42ac400a34143403a00c0ac0ec947.zip
CMake-20aab1a4e7e42ac400a34143403a00c0ac0ec947.tar.gz
CMake-20aab1a4e7e42ac400a34143403a00c0ac0ec947.tar.bz2
Merge topic 'configure_file-canonical-deps'
6199637e95 configure_file: canonicalize input and output path in dependencies Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2586
Diffstat (limited to 'Tests/RunCMake/Ninja/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/Ninja/RunCMakeTest.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/Ninja/RunCMakeTest.cmake b/Tests/RunCMake/Ninja/RunCMakeTest.cmake
index 4b366a8..9e1e9a5 100644
--- a/Tests/RunCMake/Ninja/RunCMakeTest.cmake
+++ b/Tests/RunCMake/Ninja/RunCMakeTest.cmake
@@ -286,3 +286,10 @@ function (run_PreventTargetAliasesDupBuildRule)
run_ninja("${RunCMake_TEST_BINARY_DIR}" -w dupbuild=err)
endfunction ()
run_PreventTargetAliasesDupBuildRule()
+
+function (run_PreventConfigureFileDupBuildRule)
+ set(RunCMake_TEST_BINARY_DIR ${RunCMake_BINARY_DIR}/PreventConfigureFileDupBuildRule-build)
+ run_cmake(PreventConfigureFileDupBuildRule)
+ run_ninja("${RunCMake_TEST_BINARY_DIR}" -w dupbuild=err)
+endfunction()
+run_PreventConfigureFileDupBuildRule()