summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2009-06-28 12:06:52 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2009-06-28 12:06:52 (GMT)
commitb1e1dc64656eac40e88a44672aff566150cfe247 (patch)
tree81a30e9a6783047814bfe2cfd57ad5a6a9b62b74 /Source
parent1651c6f37c9f04eb90b00fdee7ecb8bdb0c38e26 (diff)
downloadCMake-b1e1dc64656eac40e88a44672aff566150cfe247.zip
CMake-b1e1dc64656eac40e88a44672aff566150cfe247.tar.gz
CMake-b1e1dc64656eac40e88a44672aff566150cfe247.tar.bz2
STYLE: document #cmakedefine01 (see #9189 , there's also a test for it in
Tests/Complex/ ) Alex
Diffstat (limited to 'Source')
-rw-r--r--Source/cmConfigureFileCommand.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmConfigureFileCommand.h b/Source/cmConfigureFileCommand.h
index e35730a..4147c68 100644
--- a/Source/cmConfigureFileCommand.h
+++ b/Source/cmConfigureFileCommand.h
@@ -75,7 +75,9 @@ public:
"This is useful for configuring scripts that use ${VAR}. "
"Any occurrences of #cmakedefine VAR will be replaced with "
"either #define VAR or /* #undef VAR */ depending on "
- "the setting of VAR in CMake";
+ "the setting of VAR in CMake. Any occurrences of #cmakedefine01 VAR "
+ "will be replaced with either #define VAR 1 or #define VAR 0 "
+ "depending on whether VAR evaluates to TRUE or FALSE in CMake";
}
virtual void FinalPass();