summaryrefslogtreecommitdiffstats
path: root/Help/command/add_custom_command.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-08-05 13:58:29 (GMT)
committerBrad King <brad.king@kitware.com>2014-08-05 13:59:10 (GMT)
commitcb88742da4e50bf2265799aae73c9e141757f87f (patch)
tree80d29566616791a0683c8ba543fcd6401cc13ccc /Help/command/add_custom_command.rst
parent6548e171e36b91af6dcbbe8c5e265cd37b8a2a5f (diff)
downloadCMake-cb88742da4e50bf2265799aae73c9e141757f87f.zip
CMake-cb88742da4e50bf2265799aae73c9e141757f87f.tar.gz
CMake-cb88742da4e50bf2265799aae73c9e141757f87f.tar.bz2
Help: Remove stray content from 'add_custom_command' docs
Remove leftover generator expression documentation that is now in the cmake-generator-expressions(7) manual.
Diffstat (limited to 'Help/command/add_custom_command.rst')
-rw-r--r--Help/command/add_custom_command.rst24
1 files changed, 0 insertions, 24 deletions
diff --git a/Help/command/add_custom_command.rst b/Help/command/add_custom_command.rst
index 028ca5a..a7390ef 100644
--- a/Help/command/add_custom_command.rst
+++ b/Help/command/add_custom_command.rst
@@ -116,30 +116,6 @@ Arguments to COMMAND may use "generator expressions" with the syntax
``$<...>``. See the :manual:`cmake-generator-expressions(7)` manual for
available expressions.
-Note that tgt is not added as a dependency of the target this
-expression is evaluated on.
-
-::
-
- $<TARGET_POLICY:pol> = '1' if the policy was NEW when the 'head' target was created, else '0'. If the policy was not set, the warning message for the policy will be emitted. This generator expression only works for a subset of policies.
- $<INSTALL_PREFIX> = Content of the install prefix when the target is exported via INSTALL(EXPORT) and empty otherwise.
-
-Boolean expressions:
-
-::
-
- $<AND:?[,?]...> = '1' if all '?' are '1', else '0'
- $<OR:?[,?]...> = '0' if all '?' are '0', else '1'
- $<NOT:?> = '0' if '?' is '1', else '1'
-
-where '?' is always either '0' or '1'.
-
-Expressions with an implicit 'this' target:
-
-::
-
- $<TARGET_PROPERTY:prop> = The value of the property prop on the target on which the generator expression is evaluated.
-
References to target names in generator expressions imply target-level
dependencies, but NOT file-level dependencies. List target names with
the DEPENDS option to add file dependencies.