Browse Source

Document the use of generator expressions in new commands.

Stephen Kelly 13 years ago
parent
commit
7c7b94f21f

+ 3 - 0
Source/cmTargetCompileDefinitionsCommand.h

@@ -69,6 +69,9 @@ public:
       "INTERFACE_COMPILE_DEFINITIONS from.  "
       "Repeated calls for the same <target> append items in the order called."
       "\n"
+      "Arguments to target_compile_definitions may use \"generator "
+      "expressions\" with the syntax \"$<...>\".  "
+      CM_DOCUMENT_COMMAND_GENERATOR_EXPRESSIONS
       ;
     }
 

+ 3 - 0
Source/cmTargetIncludeDirectoriesCommand.h

@@ -73,6 +73,9 @@ public:
       "directories must be absolute paths, not relative paths.  "
       "Repeated calls for the same <target> append items in the order called."
       "\n"
+      "Arguments to target_include_directories may use \"generator "
+      "expressions\" with the syntax \"$<...>\".  "
+      CM_DOCUMENT_COMMAND_GENERATOR_EXPRESSIONS
       ;
     }
 

+ 1 - 0
Source/cmTargetPropCommandBase.h

@@ -14,6 +14,7 @@
 #define cmTargetPropCommandBase_h
 
 #include "cmCommand.h"
+#include "cmDocumentGeneratorExpressions.h"
 
 class cmTarget;