[Cmake-commits] [cmake-commits] king committed cmPolicies.cxx 1.46 1.47

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Oct 2 14:04:59 EDT 2009


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

Modified Files:
	cmPolicies.cxx 
Log Message:
Fix documentation of CMP0012 and CMP0013 versions

These policies were originally developed during the 2.7.x series and
intended for 2.6.5.  There was never a 2.6.5 release, so we should refer
to 2.8.0 instead.


Index: cmPolicies.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmPolicies.cxx,v
retrieving revision 1.46
retrieving revision 1.47
diff -C 2 -d -r1.46 -r1.47
*** cmPolicies.cxx	25 Sep 2009 17:09:43 -0000	1.46
--- cmPolicies.cxx	2 Oct 2009 18:04:57 -0000	1.47
***************
*** 360,364 ****
      CMP0012, "CMP0012",
      "The if() command can recognize named boolean constants.",
!     "In CMake versions prior to 2.6.5 the only boolean constants were 0 "
      "and 1. Other boolean constants such as true, false, yes, no, "
      "on, off, y, n, notfound, ignore (all case insensitive) were recognized "
--- 360,364 ----
      CMP0012, "CMP0012",
      "The if() command can recognize named boolean constants.",
!     "In CMake versions 2.6.4 and lower the only boolean constants were 0 "
      "and 1. Other boolean constants such as true, false, yes, no, "
      "on, off, y, n, notfound, ignore (all case insensitive) were recognized "
***************
*** 370,374 ****
      "The NEW behavior for this policy is to treat strings like true as a "
      "boolean constant.",
!     2,6,5, cmPolicies::WARN);
  
      this->DefinePolicy(
--- 370,374 ----
      "The NEW behavior for this policy is to treat strings like true as a "
      "boolean constant.",
!     2,8,0, cmPolicies::WARN);
  
      this->DefinePolicy(
***************
*** 381,385 ****
      "CMake 2.6.4 and above explicitly detect duplicate binary directories.  "
      "CMake 2.6.4 always considers this case an error.  "
!     "In CMake 2.6.5 and above this policy determines whether or not "
      "the case is an error.  "
      "The OLD behavior for this policy is to allow duplicate binary "
--- 381,385 ----
      "CMake 2.6.4 and above explicitly detect duplicate binary directories.  "
      "CMake 2.6.4 always considers this case an error.  "
!     "In CMake 2.8.0 and above this policy determines whether or not "
      "the case is an error.  "
      "The OLD behavior for this policy is to allow duplicate binary "
***************
*** 387,391 ****
      "The NEW behavior for this policy is to disallow duplicate binary "
      "directories with an error.",
!     2,6,5, cmPolicies::WARN);
  
      this->DefinePolicy(
--- 387,391 ----
      "The NEW behavior for this policy is to disallow duplicate binary "
      "directories with an error.",
!     2,8,0, cmPolicies::WARN);
  
      this->DefinePolicy(



More information about the Cmake-commits mailing list