Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | objlib: Allow `OBJECT` libraries to link to other libraries. | Deniz Bahadir | 2018-03-01 | 1 | -2/+0 |
| | | | | | | | | | | The proper way to use libraries is now through `target_link_libraries` for things such as usage requirements, compile definitions, include directories, etc. To facilitate this, allow `OBJECT` libraries to "link" to other libraries. Co-Author: Ben Boeckel <ben.boeckel@kitware.com> Issue: #14778 | ||||
* | Test OBJECT library failure cases | Brad King | 2012-03-16 | 1 | -0/+2 |
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. |