summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/target_link_options
Commit message (Collapse)AuthorAgeFilesLines
* cmTargetPropCommandBase: check keywords after parsingBen Boeckel2018-10-262-5/+0
| | | | | | | | | | | | | The following was disallowed: add_library(iface INTERFACE) target_link_libraries(iface PUBLIC) just due to the mention of the `PUBLIC` keyword. Instead, only error if there are actually `PUBLIC` dependencies specified (and analogously for other restrictions). Update tests to expect this new behavior.
* Tests: add tests for empty-value keyword arguments in target_*Ben Boeckel2018-10-264-0/+12
| | | | | | Not all of these commands accept non-compilable (i.e., IMPORTED) targets, so those calls are currently just commented out. If they ever do start to accept them, the tests should be enabled.
* LINK_OPTIONS property: add test for static library.Marc Chevrier2018-08-154-0/+15
| | | | | | | Check that property INTERFACE_LINK_OPTIONS is correctly propagated from static libraries. Issue: #18251
* target_link_options: Add test to verify static library behaviorRobert Maynard2018-08-094-0/+16
| | | | Issue: #18251
* LINK_OPTIONS: Add support of "LINKER:" prefixMarc Chevrier2018-06-069-29/+97
|
* LINK_OPTIONS: Add new family of propertiesMarc Chevrier2018-06-0615-0/+154
This family enable to manage link flags Three new properties: * directory property: LINK_OPTIONS * target properties: LINK_OPTIONS and INTERFACE_LINK_OPTIONS Two new commands * add_link_options(): to populate directory property * target_link_options(): to populate target properties Fixes: #16543