From b1e1dc64656eac40e88a44672aff566150cfe247 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Sun, 28 Jun 2009 08:06:52 -0400 Subject: STYLE: document #cmakedefine01 (see #9189 , there's also a test for it in Tests/Complex/ ) Alex --- Source/cmConfigureFileCommand.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(); -- cgit v0.12