Document that generator expressions can be used in target properties.
This commit is contained in:
parent
daf88c3698
commit
9d462b22a3
|
@ -16,6 +16,7 @@
|
||||||
#include "cmLocalGenerator.h"
|
#include "cmLocalGenerator.h"
|
||||||
#include "cmGlobalGenerator.h"
|
#include "cmGlobalGenerator.h"
|
||||||
#include "cmDocumentCompileDefinitions.h"
|
#include "cmDocumentCompileDefinitions.h"
|
||||||
|
#include "cmDocumentGeneratorExpressions.h"
|
||||||
#include "cmDocumentLocationUndefined.h"
|
#include "cmDocumentLocationUndefined.h"
|
||||||
#include "cmListFileCache.h"
|
#include "cmListFileCache.h"
|
||||||
#include "cmGeneratorExpression.h"
|
#include "cmGeneratorExpression.h"
|
||||||
|
@ -204,6 +205,9 @@ void cmTarget::DefineProperties(cmake *cm)
|
||||||
"are not supported by the native build tool. "
|
"are not supported by the native build tool. "
|
||||||
"The VS6 IDE does not support definition values with spaces "
|
"The VS6 IDE does not support definition values with spaces "
|
||||||
"(but NMake does).\n"
|
"(but NMake does).\n"
|
||||||
|
"Contents of COMPILE_DEFINITIONS may use \"generator expressions\" with "
|
||||||
|
"the syntax \"$<...>\". "
|
||||||
|
CM_DOCUMENT_COMMAND_GENERATOR_EXPRESSIONS
|
||||||
CM_DOCUMENT_COMPILE_DEFINITIONS_DISCLAIMER);
|
CM_DOCUMENT_COMPILE_DEFINITIONS_DISCLAIMER);
|
||||||
|
|
||||||
cm->DefineProperty
|
cm->DefineProperty
|
||||||
|
@ -497,8 +501,11 @@ void cmTarget::DefineProperties(cmake *cm)
|
||||||
"to the include_directories command."
|
"to the include_directories command."
|
||||||
"\n"
|
"\n"
|
||||||
"The target property values are used by the generators to set "
|
"The target property values are used by the generators to set "
|
||||||
"the include paths for the compiler. "
|
"the include paths for the compiler. "
|
||||||
"See also the include_directories command.");
|
"See also the include_directories command.\n"
|
||||||
|
"Contents of INCLUDE_DIRECTORIES may use \"generator expressions\" with "
|
||||||
|
"the syntax \"$<...>\". "
|
||||||
|
CM_DOCUMENT_COMMAND_GENERATOR_EXPRESSIONS);
|
||||||
|
|
||||||
cm->DefineProperty
|
cm->DefineProperty
|
||||||
("INSTALL_NAME_DIR", cmProperty::TARGET,
|
("INSTALL_NAME_DIR", cmProperty::TARGET,
|
||||||
|
|
Loading…
Reference in New Issue