Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cmake: Display error if generate step fails | Kyle Edwards | 2019-05-13 | 2 | -2/+6 |
| | |||||
* | Defer check for sources within a target until generation. | Deniz Bahadir | 2017-10-24 | 4 | -21/+2 |
| | | | | | | | | | | | | | | | The `add_library` and `add_executable` commands can now be called with no source-files and won't generate a warning or error message, as long as source-files will be added later via the `target_sources` command. If during the generation step still no sources are associated with targets created by such calls a useful error message will be generated and generation fails. Targets of type `INTERFACE_LIBRARY`, `UTILITY` or `GLOBAL_TARGET` are excluded from this check because we do not need sources for these target types during generation. Fixes: #16872 | ||||
* | Tests: Exclude bad RunCMake.add_executable case on multi-arch Xcode | Brad King | 2017-10-24 | 1 | -1/+3 |
| | | | | | | | The `NoSourcesButLinkObjects` case would not be expected to work under Xcode with multiple architectures even if the target objects were listed directly as sources. Exclude it. We already exclude similar cases in `RunCMake.add_library`. | ||||
* | Tests: Add tests for missing sources in add_executable and add_library. | Deniz Bahadir | 2017-09-20 | 12 | -0/+48 |