summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/TargetObjects
Commit message (Collapse)AuthorAgeFilesLines
* Tests/RunCMake: Match dots more precisely, part 3AJIOB2025-10-202-6/+6
|
* Tests/RunCMake: Match CMakeLists.txt file name more preciselyAJIOB2025-10-161-2/+2
|
* Tests/RunCMake: Match xxx.cmake file name more preciselyAJIOB2025-10-161-1/+1
|
* Tests/RunCMake: Match CMakeLists.txt file name more preciselyHanna Rusakovich2025-10-151-1/+1
|
* Tests/RunCMake: Update cmake_minimum_required versions to 3.10Brad King2024-10-031-1/+1
| | | | | For policy-specific tests, use the version before the policy was introduced. Otherwise, use 3.10 where possible.
* Restore support for TARGET_OBJECTS in link interfaces with unity buildsBrad King2024-02-215-0/+36
| | | | | | | | | | | | | This was broken by commit df08c37a42 (cmGlobalGenerator: Add unity/pch sources after computing compile features, 2024-02-02, v3.28.3~1^2~1^2), and 3.28.2's commit 76b5383123 (cmGlobalGenerator: add unity sources after computing target compile features, 2024-01-01, v3.28.2~17^2~1). The problem is very similar to that fixed by commit 4e8f24e977 (PCH: Clear link interface cache when adding PCH object to it, 2022-01-24, v3.23.0-rc1~44^2~9). Generalize that fix. Fixes: #25696
* Tests: Update RunCMake.TargetObjects cmake_minimum_required versionBrad King2024-02-211-1/+1
| | | | | This was missed in commit 1edf138506 (Tests/RunCMake: Update cmake_minimum_required versions, 2023-02-06, v3.27.0-rc1~508^2~1).
* 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