summaryrefslogtreecommitdiffstats
path: root/Tests/Complex
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-06-08 16:26:32 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-06-08 16:26:32 (GMT)
commit2e4258efc16a805fb6cc1a42426046f0f015657b (patch)
tree7fab61cfbd2d1d3b09bd6b4cb1e5cc5c33ce9b62 /Tests/Complex
parent2f42e93427902a8afa28ee3fe796768242452fbc (diff)
downloadCMake-2e4258efc16a805fb6cc1a42426046f0f015657b.zip
CMake-2e4258efc16a805fb6cc1a42426046f0f015657b.tar.gz
CMake-2e4258efc16a805fb6cc1a42426046f0f015657b.tar.bz2
ENH: shift to using ADD_SUBDIRECTORY
Diffstat (limited to 'Tests/Complex')
-rw-r--r--Tests/Complex/CMakeLists.txt3
-rw-r--r--Tests/Complex/Executable/CMakeLists.txt2
2 files changed, 3 insertions, 2 deletions
diff --git a/Tests/Complex/CMakeLists.txt b/Tests/Complex/CMakeLists.txt
index 80df627..d16d66e 100644
--- a/Tests/Complex/CMakeLists.txt
+++ b/Tests/Complex/CMakeLists.txt
@@ -273,7 +273,8 @@ ENDIF(NOT STRING_REGEX_PASSED)
#
# Create the libs and the main exe
#
-SUBDIRS(Library Executable)
+ADD_SUBDIRECTORY(Library)
+ADD_SUBDIRECTORY(Executable)
SUBDIR_DEPENDS(Executable Library)
EXPORT_LIBRARY_DEPENDENCIES(${Complex_BINARY_DIR}/ComplexLibraryDepends.cmake)
INCLUDE(${Complex_BINARY_DIR}/ComplexLibraryDepends.cmake OPTIONAL)
diff --git a/Tests/Complex/Executable/CMakeLists.txt b/Tests/Complex/Executable/CMakeLists.txt
index 55b02e1..6c1deb5 100644
--- a/Tests/Complex/Executable/CMakeLists.txt
+++ b/Tests/Complex/Executable/CMakeLists.txt
@@ -65,7 +65,7 @@ ADD_CUSTOM_COMMAND(
# has no side-effects on the current Makefile (duplicated source file
# due to source list expansion done twice).
#
-SUBDIRS(Temp)
+ADD_SUBDIRECTORY(Temp)
#
# Extra coverage.Not used.