summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Ninja/SubDir.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-10-25 13:08:51 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-10-25 13:08:51 (GMT)
commit9430125511865b65e2fa897c59c70414238fbf91 (patch)
tree695aa78b0eeed4daf5020cd81c4aff939dcdde27 /Tests/RunCMake/Ninja/SubDir.cmake
parent9a399c27a8c6e9a264cbabf9bb3b091b2e74a71f (diff)
parent87cc9bfc3c6892c93e10f73421e2b0fdba06b8e9 (diff)
downloadCMake-9430125511865b65e2fa897c59c70414238fbf91.zip
CMake-9430125511865b65e2fa897c59c70414238fbf91.tar.gz
CMake-9430125511865b65e2fa897c59c70414238fbf91.tar.bz2
Merge topic 'ninja-subdir-binary-dir'
87cc9bfc Merge branch 'backport-ninja-subdir-binary-dir' into ninja-subdir-binary-dir e983bd32 Ninja: Use binary dir for `$subdir/all` targets 42db2ebc Ninja: Use binary dir for `$subdir/all` targets
Diffstat (limited to 'Tests/RunCMake/Ninja/SubDir.cmake')
-rw-r--r--Tests/RunCMake/Ninja/SubDir.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/Ninja/SubDir.cmake b/Tests/RunCMake/Ninja/SubDir.cmake
index d227753..11f467a 100644
--- a/Tests/RunCMake/Ninja/SubDir.cmake
+++ b/Tests/RunCMake/Ninja/SubDir.cmake
@@ -1,5 +1,6 @@
include(CTest)
add_subdirectory(SubDir)
+add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/SubDirSource SubDirBinary)
add_custom_target(TopFail ALL COMMAND does_not_exist)
add_test(NAME TopTest COMMAND ${CMAKE_COMMAND} -E echo "Running TopTest")
install(CODE [[