https://github.com/Kitware/CMake
Revision fe732264e9abb6249d1d112b24ce36b226590105 authored by Stephen Kelly on 02 November 2012, 14:47:40 UTC, committed by Brad King on 07 October 2013, 23:56:31 UTC
This target type only contains INTERFACE_* properties, so it can be used as a structural node. The target-specific commands enforce that they may only be used with the INTERFACE keyword when used with INTERFACE_LIBRARY targets. The old-style target properties matching LINK_INTERFACE_LIBRARIES_<CONFIG> are always ignored for this target type. The name of the INTERFACE_LIBRARY must match a validity generator expression. The validity is similar to that of an ALIAS target, but with the additional restriction that it may not contain double colons. Double colons will carry the meaning of IMPORTED or ALIAS targets in CMake 2.8.13. An ALIAS target may be created for an INTERFACE library. At this point it can not be exported and does not appear in the buildsystem and project files are not created for them. That may be added as a feature in a later commit. The generators need some changes to handle the INTERFACE_LIBRARY targets returned by cmComputeLinkInterface::GetItems. The Ninja generator does not use that API, so it doesn't require changes related to that.
1 parent d413435
Tip revision: fe732264e9abb6249d1d112b24ce36b226590105 authored by Stephen Kelly on 02 November 2012, 14:47:40 UTC
Add the INTERFACE_LIBRARY target type.
Add the INTERFACE_LIBRARY target type.
Tip revision: fe73226
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-- | 247.0 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.7 KB |
cmake_uninstall.cmake.in | -rw-r--r-- | 796 bytes |
configure | -rwxr-xr-x | 99 bytes |
doxygen.config | -rw-r--r-- | 27.4 KB |
Computing file changes ...