diff options
author | Ken Martin <ken.martin@kitware.com> | 2005-06-08 16:26:32 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2005-06-08 16:26:32 (GMT) |
commit | 2e4258efc16a805fb6cc1a42426046f0f015657b (patch) | |
tree | 7fab61cfbd2d1d3b09bd6b4cb1e5cc5c33ce9b62 /Tests/ComplexOneConfig | |
parent | 2f42e93427902a8afa28ee3fe796768242452fbc (diff) | |
download | CMake-2e4258efc16a805fb6cc1a42426046f0f015657b.zip CMake-2e4258efc16a805fb6cc1a42426046f0f015657b.tar.gz CMake-2e4258efc16a805fb6cc1a42426046f0f015657b.tar.bz2 |
ENH: shift to using ADD_SUBDIRECTORY
Diffstat (limited to 'Tests/ComplexOneConfig')
-rw-r--r-- | Tests/ComplexOneConfig/CMakeLists.txt | 3 | ||||
-rw-r--r-- | Tests/ComplexOneConfig/Executable/CMakeLists.txt | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Tests/ComplexOneConfig/CMakeLists.txt b/Tests/ComplexOneConfig/CMakeLists.txt index 80df627..d16d66e 100644 --- a/Tests/ComplexOneConfig/CMakeLists.txt +++ b/Tests/ComplexOneConfig/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/ComplexOneConfig/Executable/CMakeLists.txt b/Tests/ComplexOneConfig/Executable/CMakeLists.txt index 55b02e1..6c1deb5 100644 --- a/Tests/ComplexOneConfig/Executable/CMakeLists.txt +++ b/Tests/ComplexOneConfig/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. |