[cmake-commits] hoffman committed CMakeLists.txt 1.3 1.3.4.1

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Oct 27 16:01:56 EDT 2006


Update of /cvsroot/CMake/CMake/Tests/OutOfSource
In directory public:/mounts/ram/cvs-serv22632/Tests/OutOfSource

Modified Files:
      Tag: CMake-2-4
	CMakeLists.txt 
Log Message:
ENH: move changes from main tree


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/OutOfSource/CMakeLists.txt,v
retrieving revision 1.3
retrieving revision 1.3.4.1
diff -u -d -r1.3 -r1.3.4.1
--- CMakeLists.txt	13 Sep 2005 14:40:38 -0000	1.3
+++ CMakeLists.txt	27 Oct 2006 20:01:54 -0000	1.3.4.1
@@ -4,6 +4,10 @@
 add_subdirectory(SubDir)
 
 get_directory_property(ANIMAL DIRECTORY OutOfSourceSubdir DEFINITION WEASELS)
+get_directory_property(ANIMALREL DIRECTORY SubDir/../OutOfSourceSubdir DEFINITION WEASELS)
+IF(NOT "${ANIMAL}" STREQUAL "${ANIMALREL}")
+  MESSAGE(FATAL_ERROR "GET_DIRECTORY_PROPERTY does not seem to collapse paths.")
+ENDIF(NOT "${ANIMAL}" STREQUAL "${ANIMALREL}")
 
 configure_file(
   ${OutOfSource_SOURCE_DIR}/testdp.h.in



More information about the Cmake-commits mailing list