summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-08-04 13:35:11 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-08-04 13:35:49 (GMT)
commit019c75eb9ef3813bdd1038118f23141fac255d3e (patch)
tree9b46bd0159458a231fc77c3c91c4388b2d76c90d /Tests
parent3a38f6c618aae0d8a656ae082bdffb3b82aa22e6 (diff)
parent5e0b06fe849ee035bedbeac1bd2bfe05f7f8d860 (diff)
downloadCMake-019c75eb9ef3813bdd1038118f23141fac255d3e.zip
CMake-019c75eb9ef3813bdd1038118f23141fac255d3e.tar.gz
CMake-019c75eb9ef3813bdd1038118f23141fac255d3e.tar.bz2
Merge topic 'makefile-path-consistency' into release-3.24
5e0b06fe84 Makefiles: Restore path consistency in the global dispatch makefile Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7543
Diffstat (limited to 'Tests')
-rw-r--r--Tests/OutOfSource/CMakeLists.txt3
-rw-r--r--Tests/OutOfSource/SubInBuildCMakeLists.cmake1
2 files changed, 4 insertions, 0 deletions
diff --git a/Tests/OutOfSource/CMakeLists.txt b/Tests/OutOfSource/CMakeLists.txt
index 4687882..c82d077 100644
--- a/Tests/OutOfSource/CMakeLists.txt
+++ b/Tests/OutOfSource/CMakeLists.txt
@@ -16,3 +16,6 @@ configure_file(
)
set(KEN 1)
+
+configure_file(SubInBuildCMakeLists.cmake ${CMAKE_CURRENT_BINARY_DIR}/SubInBuild/CMakeLists.txt COPYONLY)
+add_subdirectory(${CMAKE_CURRENT_BINARY_DIR}/SubInBuild ${CMAKE_CURRENT_BINARY_DIR}/SubInBuild/Build)
diff --git a/Tests/OutOfSource/SubInBuildCMakeLists.cmake b/Tests/OutOfSource/SubInBuildCMakeLists.cmake
new file mode 100644
index 0000000..c2e2942
--- /dev/null
+++ b/Tests/OutOfSource/SubInBuildCMakeLists.cmake
@@ -0,0 +1 @@
+add_custom_target(SubInBuildCustom ALL)