diff options
author | Brad King <brad.king@kitware.com> | 2011-01-14 23:28:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-01-14 23:28:56 (GMT) |
commit | e4e14e856800020febf770221cb0593fa72e5c1b (patch) | |
tree | 192832dd6f2fa62596ff24208b23070b1652fbc8 /Tests/SwigTest | |
parent | 63d21c1f8efeb2f2337221119c479d75bbb0b7c0 (diff) | |
download | CMake-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