[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.116 1.117

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Sep 28 17:34:35 EDT 2009


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

Modified Files:
	CMakeLists.txt 
Log Message:
Test support for OLD behavior of policy CMP0002

Policy CMP0002's OLD behavior allows duplicate non-custom targets.  We
test it with a project that builds two executables of the same name by
setting CMP0002 to OLD.


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CMakeLists.txt,v
retrieving revision 1.116
retrieving revision 1.117
diff -C 2 -d -r1.116 -r1.117
*** CMakeLists.txt	24 Sep 2009 18:14:23 -0000	1.116
--- CMakeLists.txt	28 Sep 2009 21:34:33 -0000	1.117
***************
*** 125,128 ****
--- 125,131 ----
    ADD_TEST_MACRO(Unset Unset)
    ADD_TEST_MACRO(PolicyScope PolicyScope)
+   IF("${CMAKE_TEST_GENERATOR}" MATCHES "Make")
+     ADD_TEST_MACRO(Policy0002 Policy0002)
+   ENDIF("${CMAKE_TEST_GENERATOR}" MATCHES "Make")
  
    SET(CMAKE_BUILD_TEST_SOURCE_DIR "${CMake_SOURCE_DIR}/Tests/COnly")



More information about the Cmake-commits mailing list