summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/NinjaMultiConfig/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-09-01 21:40:18 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2020-09-02 16:59:59 (GMT)
commita9fd3a107dc4bc34b8d2822b9153ee0ab9e02ea8 (patch)
tree9ca32f0f90fd36c8d3328b64278dcb390cf79bb0 /Tests/RunCMake/NinjaMultiConfig/RunCMakeTest.cmake
parentf1199bdc96d255fbd10772b64d6ff1c64490bb57 (diff)
downloadCMake-a9fd3a107dc4bc34b8d2822b9153ee0ab9e02ea8.zip
CMake-a9fd3a107dc4bc34b8d2822b9153ee0ab9e02ea8.tar.gz
CMake-a9fd3a107dc4bc34b8d2822b9153ee0ab9e02ea8.tar.bz2
Ninja Multi-Config: Fix dependencies of utility targets
Fixes: #21118
Diffstat (limited to 'Tests/RunCMake/NinjaMultiConfig/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/NinjaMultiConfig/RunCMakeTest.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/NinjaMultiConfig/RunCMakeTest.cmake b/Tests/RunCMake/NinjaMultiConfig/RunCMakeTest.cmake
index 8248925..fe32fb6 100644
--- a/Tests/RunCMake/NinjaMultiConfig/RunCMakeTest.cmake
+++ b/Tests/RunCMake/NinjaMultiConfig/RunCMakeTest.cmake
@@ -235,6 +235,10 @@ run_cmake_build(CustomCommandsAndTargets debug-in-release-graph-postbuild Releas
run_ninja(CustomCommandsAndTargets release-postbuild build-Release.ninja SubdirPostBuild)
run_cmake_build(CustomCommandsAndTargets debug-targetpostbuild Debug TopTargetPostBuild)
run_ninja(CustomCommandsAndTargets release-targetpostbuild build-Release.ninja SubdirTargetPostBuild)
+run_cmake_build(CustomCommandsAndTargets release-clean Release clean:all)
+run_ninja(CustomCommandsAndTargets release-leaf-custom build-Release.ninja Leaf.txt)
+run_cmake_build(CustomCommandsAndTargets release-clean Release clean:all)
+run_ninja(CustomCommandsAndTargets release-leaf-exe build-Release.ninja LeafExe)
unset(RunCMake_TEST_BINARY_DIR)