CMake/Tests/CMakeCommands/target_link_libraries
Stephen Kelly 7653862798 Add LINK_LIBRARIES property for direct target link dependencies
Previously we kept direct link dependencies in OriginalLinkLibraries.
The property exposes the information in the CMake language through the
get/set_property commands.  We preserve the OriginalLinkLibraries value
internally to support old APIs like that for CMP0003's OLD behavior, but
the property is now authoritative.  This follows up from commit d5cf644a
(Split link information processing into two steps, 2012-11-01).

This will be used later to populate the link interface properties when
exporting targets, and will later allow use of generator expressions
when linking to libraries with target_link_libraries.

Also make targets depend on the (config-specific) union of dependencies.
CMake now allows linking to dependencies or not depending on the config.
However, generated build systems are not all capable of processing
config-specific dependencies, so the targets depend on the union of
dependencies for all configs.
2013-01-08 09:02:43 -05:00
..
CMakeLists.txt Add LINK_LIBRARIES property for direct target link dependencies 2013-01-08 09:02:43 -05:00
depA.cpp target_link_libraries: Add LINK_(PUBLIC|PRIVATE) options 2011-11-22 16:52:35 -05:00
depA.h target_link_libraries: Add LINK_(PUBLIC|PRIVATE) options 2011-11-22 16:52:35 -05:00
depB.cpp Add LINK_LIBRARIES property for direct target link dependencies 2013-01-08 09:02:43 -05:00
depB.h target_link_libraries: Add LINK_(PUBLIC|PRIVATE) options 2011-11-22 16:52:35 -05:00
depC.cpp GenerateExportHeader test: add newlines before end of file 2012-01-18 00:01:08 +01:00
depC.h target_link_libraries: Add LINK_(PUBLIC|PRIVATE) options 2011-11-22 16:52:35 -05:00
depIfaceOnly.cpp Make targets depend on the link interface of their dependees. 2013-01-03 13:31:50 -05:00
depIfaceOnly.h Make targets depend on the link interface of their dependees. 2013-01-03 13:31:50 -05:00
libgenex.cpp Add LINK_LIBRARIES property for direct target link dependencies 2013-01-08 09:02:43 -05:00
libgenex.h Add LINK_LIBRARIES property for direct target link dependencies 2013-01-08 09:02:43 -05:00
targetA.cpp Make targets depend on the link interface of their dependees. 2013-01-03 13:31:50 -05:00