summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/TargetObjects
Commit message (Collapse)AuthorAgeFilesLines
* Genex: Fix grammatical error in TARGET_OBJECTS error messageKyle Edwards2021-02-241-2/+2
|
* add_library(): Allow imported object libraries with multi-archCraig Scott2021-02-064-0/+27
| | | Fixes: #21276
* Tests: TargetObjects does not need any languages enabledCraig Scott2021-02-052-5/+1
|
* Tests/RunCMake: Update cmake_minimum_required versionsBrad King2020-06-181-1/+1
| | | | Use 3.3 or 2.8.12 where possible.
* Relax the usage of TARGET_OBJECTS generator expressionRobert Maynard2019-04-192-6/+7
| | | | | The geneator expression can now be used with static, shared, and module libraries and executables.
* 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