CMake/Tests/InterfaceLibrary
Stephen Kelly 672f1001c0 Genex: Fix evaluation context propagation for TARGET_OBJECTS.
Extract a new method to encapsulate the requirements of evaluating
dependent-expressions, namely, propagation of the
EvaluateForBuildsystem setting, which is missing from the
getLinkedTargetsContent implementation.

Commit v3.1.0-rc1~688^2 (Genex: Only evaluate TARGET_OBJECTS to determine
target sources., 2014-03-20) introduced an error case for use of
TARGET_OBJECTS outside of the context of generating the buildsystem,
as the path to object files may be dependent on buildsystem
variables (See bug #15226).

Commit v3.1.0-rc1~314^2 (Allow INTERFACE_SOURCES to specify
$<TARGET_OBJECTS> (#14970), 2014-07-09) made it possible to
propagate such content to dependent targets.

While that commit propagated the EvaluateForBuildsystem setting
for the case of a TARGET_PROPERTY expression, as generated for
direct dependencies of a target in
cmTargetInternals::AddInterfaceEntries, it did not add propagation
for content from further transitive target dependencies, as determined
by getLinkedTargetsContent.
2014-11-26 22:16:15 +01:00
..
headerdir cmTarget: Enable convenient include dir handling for INTERFACE_LIBRARY. 2014-01-06 17:25:10 +01:00
ifacedir Fix scope of transitive target name lookups 2014-06-23 09:17:07 -04:00
libsdir add_library: Disallow invalid signatures for INTERFACE_LIBRARY. 2014-01-06 17:25:10 +01:00
CMakeLists.txt Genex: Fix evaluation context propagation for TARGET_OBJECTS. 2014-11-26 22:16:15 +01:00
broken.cpp Remove INTERFACE build targets. 2013-12-10 17:58:36 +01:00
definetestexe.cpp Allow INTERFACE_SOURCES to specify $<TARGET_OBJECTS> (#14970) 2014-07-14 09:09:32 -04:00
dummy.cpp Remove INTERFACE build targets. 2013-12-10 17:58:36 +01:00
map_config.cpp InterfaceLibrary: Add test requiring MAP_IMPORTED_CONFIG whitelisting 2014-01-09 20:11:42 +01:00
obj.cpp Allow INTERFACE_SOURCES to specify $<TARGET_OBJECTS> (#14970) 2014-07-14 09:09:32 -04:00
sharedlibtestexe.cpp