summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-01-13 10:04:40 +0100
committerStephen Kelly <steveire@gmail.com>2013-01-13 10:04:40 +0100
commit7c7b94f21ffa6f3bda054d5e11bd09b13155c04e (patch)
tree5550293f5050aaf292b8f3f3204393773649469a
parent9822f8c931c39b28a587cf48b5314431386d50ea (diff)
downloadcmake-7c7b94f21ffa6f3bda054d5e11bd09b13155c04e.tar.gz
Document the use of generator expressions in new commands.
-rw-r--r--Source/cmTargetCompileDefinitionsCommand.h3
-rw-r--r--Source/cmTargetIncludeDirectoriesCommand.h3
-rw-r--r--Source/cmTargetPropCommandBase.h1
3 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmTargetCompileDefinitionsCommand.h b/Source/cmTargetCompileDefinitionsCommand.h
index 707610e3e6..4b066b7a01 100644
--- a/Source/cmTargetCompileDefinitionsCommand.h
+++ b/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
;
}
diff --git a/Source/cmTargetIncludeDirectoriesCommand.h b/Source/cmTargetIncludeDirectoriesCommand.h
index c1957d6d93..90e039c4d1 100644
--- a/Source/cmTargetIncludeDirectoriesCommand.h
+++ b/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
;
}
diff --git a/Source/cmTargetPropCommandBase.h b/Source/cmTargetPropCommandBase.h
index 90e3bbb7f3..e757f9da12 100644
--- a/Source/cmTargetPropCommandBase.h
+++ b/Source/cmTargetPropCommandBase.h
@@ -14,6 +14,7 @@
#define cmTargetPropCommandBase_h
#include "cmCommand.h"
+#include "cmDocumentGeneratorExpressions.h"
class cmTarget;