[Cmake-commits] [cmake-commits] king committed cmCMakePolicyCommand.h 1.9 1.10

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Feb 6 08:15:07 EST 2009


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv31229/Source

Modified Files:
	cmCMakePolicyCommand.h 
Log Message:
ENH: Clarify cmake_policy(VERSION) documentation

The previous documentation could be interpreted as setting policies
newer than the given version to OLD instead of unset.  This clarifies
it.


Index: cmCMakePolicyCommand.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmCMakePolicyCommand.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -C 2 -d -r1.9 -r1.10
*** cmCMakePolicyCommand.h	22 Jan 2009 18:18:39 -0000	1.9
--- cmCMakePolicyCommand.h	6 Feb 2009 13:15:05 -0000	1.10
***************
*** 91,96 ****
        "All policies introduced in the specified version or earlier "
        "will be set to use NEW behavior.  "
!       "All policies introduced after the specified version will be reset "
!       "to use OLD behavior with a warning.  "
        "This effectively requests behavior preferred as of a given CMake "
        "version and tells newer CMake versions to warn about their new "
--- 91,95 ----
        "All policies introduced in the specified version or earlier "
        "will be set to use NEW behavior.  "
!       "All policies introduced after the specified version will be unset.  "
        "This effectively requests behavior preferred as of a given CMake "
        "version and tells newer CMake versions to warn about their new "



More information about the Cmake-commits mailing list