浏览代码

STYLE: document #cmakedefine01 (see #9189 , there's also a test for it in
Tests/Complex/ )

Alex

Alexander Neundorf 16 年之前
父节点
当前提交
b1e1dc6465
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      Source/cmConfigureFileCommand.h

+ 3 - 1
Source/cmConfigureFileCommand.h

@@ -75,7 +75,9 @@ public:
         "This is useful for configuring scripts that use ${VAR}. "
         "This is useful for configuring scripts that use ${VAR}. "
         "Any occurrences of #cmakedefine VAR will be replaced with "
         "Any occurrences of #cmakedefine VAR will be replaced with "
         "either #define VAR or /* #undef VAR */ depending on "
         "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();
   virtual void FinalPass();