summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/TargetObjects
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Use full output paths in file(GENERATE) callsBrad King2017-06-082-3/+3
| | | | | We don't define behavior for relative paths to the OUTPUT argument. Fix our tests to use full paths.
* Genex: Reject TARGET_OBJECTS on non-object libraries earlierBrad King2017-04-189-28/+42
| | | | | | | | Move the diagnostic that rejects the TARGET_OBJECTS generator expression in non-buildsystem context until after the check for whether the named target is an object library. This order will makes more sense than the previous order once TARGET_OBJECTS is allowed in non-buildsystem context.
* Allow INTERFACE_SOURCES to specify $<TARGET_OBJECTS> (#14970)Brad King2014-07-142-2/+15
| | | | | | | | | | | | Fix cmTarget::GetSourceFiles to set EvaluateForBuildsystem on the $<TARGET_PROPERTY:...,INTERFACE_SOURCES> generator expression so that the $<TARGET_OBJECTS> generator expression is allowed within an INTERFACE_SOURCES value. Extend the InterfaceLibrary test to cover this case. Extend the RunCMake.TargetObjects test to cover failure of $<TARGET_OBJECTS> when used through $<TARGET_PROPERTY:...,INTERFACE_SOURCES> in a non-buildsystem context.
* Genex: Only evaluate TARGET_OBJECTS to determine target sources.Stephen Kelly2014-04-029-30/+20
| | | | | | | | | | The output of this expression may contain macros for IDEs to replace such as $(Configuration), $(CURRENT_ARCH) etc. To avoid generating content which is not usable in other contexts, report an error if there is an attempt to use it in other contexts. This commit may be reverted in the future if a solution to the above difference is implemented.
* Genex: Evaluate TARGET_OBJECTS as a normal expression.Stephen Kelly2014-03-319-0/+38