https://github.com/Kitware/CMake
Revision 3aa9ce441f010362e404e6f9126ecd3028de76b9 authored by Stephen Kelly on 30 May 2013, 13:30:24 UTC, committed by Stephen Kelly on 30 May 2013, 13:43:42 UTC
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.
1 parent 0b39fef
History
Tip revision: 3aa9ce441f010362e404e6f9126ecd3028de76b9 authored by Stephen Kelly on 30 May 2013, 13:30:24 UTC
GenexEval: Fix evaluation of INCLUDE_DIRECTORIES target property.
Tip revision: 3aa9ce4
File Mode Size
Docs
Example
Modules
Source
Templates
Tests
Utilities
.gitattributes -rw-r--r-- 569 bytes
.hooks-config.bash -rw-r--r-- 866 bytes
CMakeCPack.cmake -rw-r--r-- 5.3 KB
CMakeCPackOptions.cmake.in -rw-r--r-- 3.4 KB
CMakeGraphVizOptions.cmake -rw-r--r-- 153 bytes
CMakeLists.txt -rw-r--r-- 24.8 KB
CMakeLogo.gif -rw-r--r-- 4.4 KB
CTestConfig.cmake -rw-r--r-- 1.0 KB
CTestCustom.cmake.in -rw-r--r-- 3.3 KB
CTestCustom.ctest.in -rw-r--r-- 145 bytes
ChangeLog.manual -rw-r--r-- 186.1 KB
ChangeLog.txt -rw-r--r-- 2.5 MB
CompileFlags.cmake -rw-r--r-- 2.5 KB
Copyright.txt -rw-r--r-- 2.6 KB
DartConfig.cmake -rw-r--r-- 809 bytes
DartLocal.conf.in -rw-r--r-- 4.0 KB
Readme.txt -rw-r--r-- 1.9 KB
bootstrap -rwxr-xr-x 52.2 KB
cmake_uninstall.cmake.in -rw-r--r-- 796 bytes
configure -rwxr-xr-x 99 bytes
doxygen.config -rw-r--r-- 27.4 KB

Readme.txt

back to top