[cmake-commits] king committed CMakeLists.txt 1.5 1.6
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Oct 9 21:26:00 EDT 2006
Update of /cvsroot/CMake/CMake/Tests/OutOfSource/SubDir
In directory public:/mounts/ram/cvs-serv17485/Tests/OutOfSource/SubDir
Modified Files:
CMakeLists.txt
Log Message:
BUG: Fixed out-of-source subdirectories to work when they are also out-of-binary. Updated the OutOfSource test to test this feature.
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/OutOfSource/SubDir/CMakeLists.txt,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- CMakeLists.txt 12 Sep 2005 18:26:45 -0000 1.5
+++ CMakeLists.txt 10 Oct 2006 01:25:58 -0000 1.6
@@ -1,3 +1,8 @@
PROJECT(ANOTHER_PROJ)
+
+# subdir to an out of source and out of binary directory
+ADD_SUBDIRECTORY(${OutOfSource_SOURCE_DIR}/../OutOfBinary
+ ${OutOfSource_BINARY_DIR}/../OutOfBinary)
+
# subdir to a sibling dir
ADD_SUBDIRECTORY(${OutOfSource_SOURCE_DIR}/${KEN}OutOfSourceSubdir OutOfSourceSubdir )
More information about the Cmake-commits
mailing list