| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | cmTarget: Raise error if imported target location is not set | Raul Tambre | 2020-08-21 | 5 | -10/+10 |
| | | | | | | | | | Previously we would synthesize <TARGET_NAME>-NOTFOUND as the location. This would then end up on the link line and cause build failures. Policy CMP0110 is added to control this behaviour. Fixes #19080, #19943. | ||||
| * | fileapi: Add INTERFACE libraries with SOURCES to codemodel-v2 | Brad King | 2020-08-07 | 9 | -1/+250 |
| | | | | | | | | | | | | | INTERFACE libraries with SOURCES now appear in the generated buildsystem, so include them in the codemodel output too. We do not need to bump the `codemodel-v2` object kind minor version because that was already done in post-3.18 development by commit 7d6861f367 (fileapi: Extend codemodel targets with language standard, 2020-06-18). Fixes: #18608 | ||||
| * | fileapi: Support multiple backtraces for language standard | Justin Goshi | 2020-07-06 | 1 | -2/+16 |
| | | |||||
| * | fileapi: Extend codemodel targets with language standard | Justin Goshi | 2020-06-26 | 7 | -0/+262 |
| | | |||||
| * | fileapi: Extend codemodel targets with PRECOMPILE_HEADERS | Justin Goshi | 2020-05-22 | 4 | -0/+152 |
| | | |||||
| * | Tests: Add a PCH example to RunCMake.FileAPI codemodel-v2 | Justin Goshi | 2020-05-22 | 3 | -0/+471 |
| | | |||||
| * | Tests: Fix indentation in RunCMake.FileAPI cxx_exe.json | Brad King | 2020-05-22 | 1 | -2/+2 |
| | | |||||
| * | Fix dependencies on targets linked through object libraries | Brad King | 2020-03-04 | 2 | -2/+28 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When an object library is used via `target_link_libraries`, any targets listed in the object library's `INTERFACE_LINK_LIBRARIES` closure should become direct dependencies of the consuming target. However, these were accidentally left out by `cmComputeTargetDepends::CollectTargetDepends` because object libraries are encountered through external object sources first and then added to the `emitted` set which blocks them from being processed as link dependencies. This was not noticed by the test case in commit bab24e782c (target_link_libraries: Propagate dependencies of object libraries, 2018-12-10, v3.14.0-rc1~260^2) because the relevant dependency appears transitively through the object library target itself. Re-order the logic to process link dependencies first, and then external object sources. That way object libraries used via `target_link_libraries` will be treated as such by dependency analysis. This also adds missing backtrace information for object libraries used via `target_link_libraries`. The missing information was mentioned in a FIXME comment in the RunCMake.FileAPI test added by commit ea0a060168 (fileapi: Add test for codemodel v2, 2018-11-09, v3.14.0-rc1~257^2~7). That comment itself was dropped by commit a0de350e2f (FileAPI test: Break gen_check_targets() into JSON files, 2020-02-07), but we can now update the corresponding location in the `.json` files to have the now-expected backtrace information. Fixes: #20421 | ||||
| * | FileAPI test: Break gen_check_projects() into JSON files | Kyle Edwards | 2020-02-07 | 7 | -0/+120 |
| | | |||||
| * | FileAPI test: Break gen_check_targets() into JSON files | Kyle Edwards | 2020-02-07 | 41 | -0/+4416 |
| | | |||||
| * | FileAPI test: Break gen_check_directories() into JSON files | Kyle Edwards | 2020-02-07 | 9 | -0/+148 |
