[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.82 1.83

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Jan 22 13:16:49 EST 2009


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

Modified Files:
	CMakeLists.txt 
Log Message:
ENH: Better policies for functions and macros

This teaches functions and macros to use policies recorded at creation
time when they are invoked.  It restores the policies as a weak policy
stack entry so that any policies set by a function escape to its caller
as before.


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CMakeLists.txt,v
retrieving revision 1.82
retrieving revision 1.83
diff -C 2 -d -r1.82 -r1.83
*** CMakeLists.txt	22 Jan 2009 17:12:44 -0000	1.82
--- CMakeLists.txt	22 Jan 2009 18:16:47 -0000	1.83
***************
*** 103,106 ****
--- 103,107 ----
    ADD_TEST_MACRO(ExportImport ExportImport)
    ADD_TEST_MACRO(Unset Unset)
+   ADD_TEST_MACRO(PolicyScope PolicyScope)
  
    SET(CMAKE_BUILD_TEST_SOURCE_DIR "${CMake_SOURCE_DIR}/Tests/COnly")



More information about the Cmake-commits mailing list