From 7c7b94f21ffa6f3bda054d5e11bd09b13155c04e Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sun, 13 Jan 2013 10:04:40 +0100 Subject: [PATCH] Document the use of generator expressions in new commands. --- Source/cmTargetCompileDefinitionsCommand.h | 3 +++ Source/cmTargetIncludeDirectoriesCommand.h | 3 +++ Source/cmTargetPropCommandBase.h | 1 + 3 files changed, 7 insertions(+) diff --git a/Source/cmTargetCompileDefinitionsCommand.h b/Source/cmTargetCompileDefinitionsCommand.h index 707610e3e..4b066b7a0 100644 --- a/Source/cmTargetCompileDefinitionsCommand.h +++ b/Source/cmTargetCompileDefinitionsCommand.h @@ -69,6 +69,9 @@ public: "INTERFACE_COMPILE_DEFINITIONS from. " "Repeated calls for the same 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 c1957d6d9..90e039c4d 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 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 90e3bbb7f..e757f9da1 100644 --- a/Source/cmTargetPropCommandBase.h +++ b/Source/cmTargetPropCommandBase.h @@ -14,6 +14,7 @@ #define cmTargetPropCommandBase_h #include "cmCommand.h" +#include "cmDocumentGeneratorExpressions.h" class cmTarget;