ENH: clean up some help text

This commit is contained in:
Ken Martin 2009-06-12 13:25:50 -04:00
parent f50cf4f60d
commit 133a778e2d
2 changed files with 8 additions and 8 deletions

View File

@ -194,15 +194,15 @@ public:
"\n" "\n"
"The if statement was written fairly early in CMake's history " "The if statement was written fairly early in CMake's history "
"and it has some convenience features that may be confusing for " "and it has some convenience features that are worth covering. "
"new users. The if statement reduces operations until there is " "The if statement reduces operations until there is "
"a single remaining value, at that point if the case " "a single remaining value, at that point if the case "
"insensitive value is: ON, 1, YES, TRUE, Y it returns true, if " "insensitive value is: ON, 1, YES, TRUE, Y it returns true, if "
"it is OFF, 0, NO, FALSE, N, NOTFOUND, *-NOTFOUND, IGNORE it " "it is OFF, 0, NO, FALSE, N, NOTFOUND, *-NOTFOUND, IGNORE it "
"will return false. \n" "will return false. \n"
"This is fairly reasonable. The convenience feature that makes " "This is fairly reasonable. The convenience feature that sometimes "
"it more confusing is how CMake handles values that do not " "throws new authors is how CMake handles values that do not "
"match the true or false list. Those values are treated as " "match the true or false list. Those values are treated as "
"variables and are dereferenced even though they do not have " "variables and are dereferenced even though they do not have "
"the required ${} syntax. This means that if you write\n" "the required ${} syntax. This means that if you write\n"

View File

@ -360,10 +360,10 @@ cmPolicies::cmPolicies()
CMP0012, "CMP0012", CMP0012, "CMP0012",
"In CMake versions prior to 2.6.5 the only boolean constants were 0 and 1. " "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, " "Other boolean constants such as true, false, yes, no, "
"on, off, y, n, notfound, ignore were recognized in some cases but not all. " "on, off, y, n, notfound, ignore (all case insensitive) were recognized "
"In later versions of cmake these values are treated as boolean constants " "in some cases but not all. In later versions of cmake these values are "
"more consistently and should not be used as variable names. " "treated as boolean constants more consistently and should not be used "
"Please do not use them as variable names.", "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 " "The OLD behavior for this policy is to allow variables to have names such as "
"true and to dereference them. " "true and to dereference them. "
"The NEW behavior for this policy is to treat strings like true as a boolean constant.", "The NEW behavior for this policy is to treat strings like true as a boolean constant.",