CMake/Tests/ExportImport/Export
Brad King aea1b03617 Fix export of STATIC library PRIVATE dependencies with CMP0022 NEW
The target_link_libraries command records the PRIVATE dependencies of a
STATIC library in INTERFACE_LINK_LIBRARIES as "$<LINK_ONLY:dep>".  This
hides the target name from export namespacing logic inside a generator
expression.  When user-written generator expressions reference a target
name they must put it inside a "$<TARGET_NAME:dep>" expression to allow
the export logic to rename the target.  In the case that the private
dependency is not already a generator expression, target_link_libraries
must use "$<LINK_ONLY:$<TARGET_NAME:dep>>" to allow the export logic to
rename the target.

Reported-by: Tamás Kenéz <tamas.kenez@gmail.com>
2016-01-15 10:18:53 -05:00
..
Interface Export: Escape exported property values when writing CMake language files 2015-06-24 09:19:39 -04:00
include/abs install: Allow absolute EXPORT destination with relative targets (#15258) 2014-12-15 11:45:49 -05:00
renamed Add EXPORT_NAME property. 2013-05-18 10:00:48 +02:00
sublib
CMakeLists.txt Fix export of STATIC library PRIVATE dependencies with CMP0022 NEW 2016-01-15 10:18:53 -05:00
cmp0022.cpp Export: Generate INTERFACE_LINK_LIBRARIES property on targets. 2013-07-08 22:39:57 +02:00
cmp0022.h Export: Generate INTERFACE_LINK_LIBRARIES property on targets. 2013-07-08 22:39:57 +02:00
cmp0022_vs6_1.cpp Export: Generate INTERFACE_LINK_LIBRARIES property on targets. 2013-07-08 22:39:57 +02:00
cmp0022_vs6_2.cpp Export: Generate INTERFACE_LINK_LIBRARIES property on targets. 2013-07-08 22:39:57 +02:00
empty.cpp Fix crash on export of target with empty INTERFACE_INCLUDE_DIRECTORIES. 2013-07-29 15:50:24 +02:00
systemlib.cpp Always consider includes from IMPORTED targets to be SYSTEM. 2013-09-24 20:00:31 +02:00
systemlib.h Always consider includes from IMPORTED targets to be SYSTEM. 2013-09-24 20:00:31 +02:00
testExe1.c
testExe1lib.c
testExe2.c
testExe2lib.c
testExe2libImp.c
testExe3.c
testExe4.c Add generator expression support to OUTPUT_DIRECTORY target properties 2015-08-12 13:43:00 -04:00
testLib1.c
testLib1file1.txt install: Support generator expressions in FILES and PROGRAMS mode 2014-02-21 17:05:26 -05:00
testLib1file2.txt install: Support generator expressions in FILES and PROGRAMS mode 2014-02-21 17:05:26 -05:00
testLib2.c
testLib3.c
testLib3Imp.c
testLib3ImpDep.c
testLib4.c
testLib4.h Use linked frameworks as a source of include directories. 2013-07-24 11:49:06 -04:00
testLib4lib.c
testLib4libdbg.c
testLib4libdbg1.c
testLib4libopt.c
testLib4libopt1.c
testLib5.c
testLib6.cxx
testLib6c.c
testLib7.c Add generator expression support to OUTPUT_NAME target property 2015-07-09 11:48:10 -04:00
testLibAbs1.c install: Allow absolute EXPORT destination with relative targets (#15258) 2014-12-15 11:45:49 -05:00
testLibCycleA1.c
testLibCycleA2.c
testLibCycleA3.c
testLibCycleB1.c
testLibCycleB2.c
testLibCycleB3.c
testLibDepends.c Fix export of STATIC library PRIVATE dependencies with CMP0022 NEW 2016-01-15 10:18:53 -05:00
testLibNoSONAME.c Tests: Cover NO_SONAME property for SHARED libraries 2015-08-20 10:38:34 -04:00
testLibPerConfigDest.c install: Allow generator expressions in TARGETS DESTINATION (#14317) 2015-02-11 15:15:33 -05:00
testLibRequired.c
testSharedLibDepends.cpp Add EXPORT_NAME property. 2013-05-18 10:00:48 +02:00
testSharedLibDepends.h Add EXPORT_NAME property. 2013-05-18 10:00:48 +02:00
testSharedLibRequired.cpp
testSharedLibRequired.h
testSharedLibRequiredUser.cpp try_compile: Extract IMPORTED targets from LINK_DEPENDENT_LIBRARIES 2013-08-26 11:36:57 -04:00
testSharedLibRequiredUser.h try_compile: Extract IMPORTED targets from LINK_DEPENDENT_LIBRARIES 2013-08-26 11:36:57 -04:00
testSharedLibRequiredUser2.cpp try_compile: Extract IMPORTED targets from INTERFACE_LINK_LIBRARIES 2013-08-26 11:37:00 -04:00
testSharedLibRequiredUser2.h try_compile: Extract IMPORTED targets from INTERFACE_LINK_LIBRARIES 2013-08-26 11:37:00 -04:00
testStaticLibRequiredPrivate.c Fix export of STATIC library PRIVATE dependencies with CMP0022 NEW 2016-01-15 10:18:53 -05:00