summaryrefslogtreecommitdiffstats
path: root/Tests/SwigTest
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-01-14 23:28:56 (GMT)
committerBrad King <brad.king@kitware.com>2011-01-14 23:28:56 (GMT)
commite4e14e856800020febf770221cb0593fa72e5c1b (patch)
tree192832dd6f2fa62596ff24208b23070b1652fbc8 /Tests/SwigTest
parent63d21c1f8efeb2f2337221119c479d75bbb0b7c0 (diff)
downloadCMake-e4e14e856800020febf770221cb0593fa72e5c1b.zip
CMake-e4e14e856800020febf770221cb0593fa72e5c1b.tar.gz
CMake-e4e14e856800020febf770221cb0593fa72e5c1b.tar.bz2
Replace misleading example in the if() documentation (#10773)
Remove the example explained by the misleading phrase "CMake will treat it as if you wrote". This was originally added by commit a73071ca (modified the if command to address bug 9123 some, 2009-06-12). Later related information elsewhere in the documentation was corrected and made precise by commit cb185d93 (Fix if() command and CMP0012 OLD/NEW behavior, 2009-10-27) but the misleading example was not corrected. Replace the example with a correct one that more directly covers the case that typically surprises newcomers. Avoid recommending a "correct" way to write code because this behavior is always specific to each case. Also update the main documentation of the behavior to be more explicit.
Diffstat (limited to 'Tests/SwigTest')
0 files changed, 0 insertions, 0 deletions