summaryrefslogtreecommitdiffstats
path: root/Tests/IPO
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-05-30 13:30:24 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-05-30 13:43:42 (GMT)
commit3aa9ce441f010362e404e6f9126ecd3028de76b9 (patch)
tree224f50c3a70e92c47cdf0d40ae372cde580e766e /Tests/IPO
parent0b39fefeac550c8277ebde308fcb9198e43e46a7 (diff)
downloadCMake-3aa9ce441f010362e404e6f9126ecd3028de76b9.zip
CMake-3aa9ce441f010362e404e6f9126ecd3028de76b9.tar.gz
CMake-3aa9ce441f010362e404e6f9126ecd3028de76b9.tar.bz2
GenexEval: Fix evaluation of INCLUDE_DIRECTORIES target property.
This property should come from the content of the property itself, plus the INTERFACE_INCLUDE_DIRECTORIES of the link *implementation*. In contrast, when the INTERFACE_INCLUDE_DIRECTORIES is evaluated for a target, the INTERFACE_INCLUDE_DIRECTORIES of the link *interface* is used. Similar logic applies for the COMPILE_DEFINITIONS target properties. If the propertyName is already an INTERFACE_ variant of the property, ie, the expression is similar to $<TARGET_PROPERTY:foo,INTERFACE_INCLUDE_DIRECTORIES> then the INTERFACE_INCLUDE_DIRECTORIES of the link *interface* of foo is used. However, if the propertyName is not an INTERFACE_ variant, and the interfacePropertyName is, ie, the expression is similar to: $<TARGET_PROPERTY:foo,INCLUDE_DIRECTORIES> then the INTERFACE_INCLUDE_DIRECTORIES of the link *implementation* of foo is used.
Diffstat (limited to 'Tests/IPO')
0 files changed, 0 insertions, 0 deletions