Merge topic 'doc-if-inside-macro'

674c56c if: Document that macro arguments are not variables (#13393)
This commit is contained in:
David Cole 2012-07-12 16:00:52 -04:00 committed by CMake Topic Stage
commit 3d1cea0b0d

View File

@ -123,6 +123,7 @@ public:
" if(<variable>)\n" " if(<variable>)\n"
"True if the variable is defined to a value that is not a false " "True if the variable is defined to a value that is not a false "
"constant. False otherwise. " "constant. False otherwise. "
"(Note macro arguments are not variables.)"
"\n" "\n"
" if(NOT <expression>)\n" " if(NOT <expression>)\n"
"True if the expression is not true." "True if the expression is not true."