diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-03-07 16:20:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-20 13:21:56 (GMT) |
commit | bbffccca42d4f209220e833e1a86e735a5c83339 (patch) | |
tree | 2c59eda71ee2691eab3a5b922b17d91586b019c5 /Help | |
parent | fb4aff058d2595078300b682dc477f0ccba6d31b (diff) | |
download | CMake-bbffccca42d4f209220e833e1a86e735a5c83339.zip CMake-bbffccca42d4f209220e833e1a86e735a5c83339.tar.gz CMake-bbffccca42d4f209220e833e1a86e735a5c83339.tar.bz2 |
add_custom_command: Evaluate generator expressions in DEPENDS
Rely on evaluation in cmCustomCommandGenerator for the generators.
When tracing target dependencies, depend on the union of dependencies
for all configurations.
Diffstat (limited to 'Help')
-rw-r--r-- | Help/command/add_custom_command.rst | 4 | ||||
-rw-r--r-- | Help/release/dev/add_custom_command-DEPENDS-genex.rst | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/Help/command/add_custom_command.rst b/Help/command/add_custom_command.rst index b0c5446..028ca5a 100644 --- a/Help/command/add_custom_command.rst +++ b/Help/command/add_custom_command.rst @@ -156,3 +156,7 @@ target is built before any target using this custom command. Additionally, if the target is an executable or library a file-level dependency is created to cause the custom command to re-run whenever the target is recompiled. + +Arguments to ``DEPENDS`` may use "generator expressions" with the syntax +``$<...>``. See the :manual:`cmake-generator-expressions(7)` manual for +available expressions. diff --git a/Help/release/dev/add_custom_command-DEPENDS-genex.rst b/Help/release/dev/add_custom_command-DEPENDS-genex.rst new file mode 100644 index 0000000..1e528e6 --- /dev/null +++ b/Help/release/dev/add_custom_command-DEPENDS-genex.rst @@ -0,0 +1,5 @@ +add_custom_command-DEPENDS-genex +-------------------------------- + +* The :command:`add_custom_command` command learned to interpret + :manual:`cmake-generator-expressions(7)` in arguments to ``DEPENDS``. |