[Cmake-commits] [cmake-commits] martink committed cmPolicies.cxx 1.37 1.38

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Jun 15 12:33:23 EDT 2009


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

Modified Files:
	cmPolicies.cxx 
Log Message:
COMP: fix line length


Index: cmPolicies.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmPolicies.cxx,v
retrieving revision 1.37
retrieving revision 1.38
diff -C 2 -d -r1.37 -r1.38
*** cmPolicies.cxx	12 Jun 2009 17:25:50 -0000	1.37
--- cmPolicies.cxx	15 Jun 2009 16:33:21 -0000	1.38
***************
*** 359,371 ****
      this->DefinePolicy(
      CMP0012, "CMP0012",
!     "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 "
      "in some cases but not all. In later versions of cmake these values are "
      "treated as boolean constants more consistently and should not be used "
      "as variable names. Please do not use them as variable names.",
!     "The OLD behavior for this policy is to allow variables to have names such as "
!     "true and to dereference them. "
!     "The NEW behavior for this policy is to treat strings like true as a boolean constant.",
      2,6,5, cmPolicies::WARN);
  }
--- 359,372 ----
      this->DefinePolicy(
      CMP0012, "CMP0012",
!     "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 "
      "in some cases but not all. In later versions of cmake these values are "
      "treated as boolean constants more consistently and should not be used "
      "as variable names. Please do not use them as variable names.",
!     "The OLD behavior for this policy is to allow variables to have names "
!     "such as true and to dereference them. "
!     "The NEW behavior for this policy is to treat strings like true as a "
!     "boolean constant.",
      2,6,5, cmPolicies::WARN);
  }



More information about the Cmake-commits mailing list