mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-27 11:18:35 -06:00
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.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user