Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Test OBJECT library language propagation | Brad King | 2012-03-16 | 3 | -0/+17 |
| | | | | | | Teach the RunCMake.ObjectLibrary test to verify that languages used in an OBJECT library are propagated to targets that use it so that the languages can be included in link analysis. | ||||
* | Test OBJECT library failure cases | Brad King | 2012-03-16 | 50 | -0/+146 |
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. |