diff options
author | Brad King <brad.king@kitware.com> | 2019-07-21 11:58:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-07-23 10:50:31 (GMT) |
commit | ad2b3a32d1b54716d1e87ae89db8c31d614a4730 (patch) | |
tree | 7f729169299d109c9a97c585e5396b09247614a5 /Source/cmLinkItem.h | |
parent | 11fa818ecda0b50446aef891b06976973005e94b (diff) | |
download | CMake-ad2b3a32d1b54716d1e87ae89db8c31d614a4730.zip CMake-ad2b3a32d1b54716d1e87ae89db8c31d614a4730.tar.gz CMake-ad2b3a32d1b54716d1e87ae89db8c31d614a4730.tar.bz2 |
Genex: Optimize build setting TARGET_PROPERTY evaluation
For each build setting property (such as `COMPILE_DEFINITIONS` or
`INCLUDE_DIRECTORIES`), the value of `$<TARGET_PROPERTY:target,prop>`
includes the values of the corresponding `INTERFACE_*` usage requirement
property from the transitive closure of link libraries of the target.
Previously we computed this by constructing a generator expression
string like `$<TARGET_PROPERTY:lib,INTERFACE_COMPILE_DEFINITIONS>` and
recursively evaluating it with the generator expression engine. Avoid
the string construction and parsing by using the dedicated evaluation
method `cmGeneratorTarget::EvaluateInterfaceProperty`.
Issue: #18964, #18965
Diffstat (limited to 'Source/cmLinkItem.h')
0 files changed, 0 insertions, 0 deletions