mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-14 02:08:27 +08:00

Only generate a graph dependency between a custom command and a target when the custom command queries for the file path of an artifact of the target. This makes generator expressions such as `TARGET_FILE_DIR` behave the same way as `TARGET_PROPERTY` which never generated a graph dependency.
18 lines
620 B
ReStructuredText
18 lines
620 B
ReStructuredText
relax-target-generator-expression-dependency-addition
|
|
-----------------------------------------------------
|
|
|
|
* The following target-based generator expressions that query for directory or
|
|
file name components no longer add a dependency on the evaluated target.
|
|
See policy :policy:`CMP0112`.
|
|
|
|
- ``TARGET_FILE_DIR``
|
|
- ``TARGET_LINKER_FILE_BASE_NAME``
|
|
- ``TARGET_LINKER_FILE_NAME``
|
|
- ``TARGET_LINKER_FILE_DIR``
|
|
- ``TARGET_SONAME_FILE_NAME``
|
|
- ``TARGET_SONAME_FILE_DIR``
|
|
- ``TARGET_PDB_FILE_NAME``
|
|
- ``TARGET_PDB_FILE_DIR``
|
|
- ``TARGET_BUNDLE_DIR``
|
|
- ``TARGET_BUNDLE_CONTENT_DIR``
|