summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ObjectLibrary/LinkObjRHS1.cmake
Commit message (Collapse)AuthorAgeFilesLines
* objlib: Allow other libraries to link to `OBJECT` libraries.Deniz Bahadir2018-03-011-3/+0
| | | | | | | | Note: This only allows `OBJECT` libraries to be on the right-hand side of `target_link_libraries` but still does not link its object-files to the target on the left-hand side. Issue: #14778
* Test OBJECT library failure casesBrad King2012-03-161-0/+3
Add "RunCMake.ObjectLibrary" test to verify that unsupported use cases are rejected with errors: * An OBJECT library may not reference another object library * An OBJECT library may not be referenced in target_link_libraries * An OBJECT library may not contain non-compiling sources * An OBJECT library may not have pre/post build/link commands * An OBJECT library may not be installed, exported, or imported Also verify that invalid $<TARGET_OBJECTS:...> expressions are diagnosed.