summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FileAPI/codemodel-v2-data
Commit message (Collapse)AuthorAgeFilesLines
* FileAPI: Add integration for runtime dependency installersKyle Edwards2021-06-042-2/+178
|
* FileAPI: Populate information for IMPORTED_RUNTIME_ARTIFACTSKyle Edwards2021-05-311-2/+63
|
* install: Implement new install(CODE|SCRIPT) option ALL_COMPONENTSNils Gladitz2021-05-193-0/+58
| | | | | | | | | | | In a per-component installation the generated installation scripts are invoked once for each component. Per default custom installation script code added by install(CODE|SCRIPT) only runs for one specific component in this context. The new ALL_COMPONENTS option allows custom script code to be run once for each component being installed.
* MSYS: Add support for running under MSYS runtime environmentOrgad Shaneh2021-04-263-8/+8
| | | | Detect MSYS as CYGWIN, with the required adaptations.
* fileapi: Add installers to codemodel-v2 "directory" objectBrad King2021-03-1610-10/+689
| | | | Co-Authored-by: Kyle Edwards <kyle.edwards@kitware.com>
* fileapi: Add a "directory" object to codemodel-v2Brad King2021-03-163-6/+192
| | | | | | This object will contain more detailed directory-level information. Co-Authored-by: Kyle Edwards <kyle.edwards@kitware.com>
* Ninja Multi-Config: Add support for cross-config custom commandsKyle Edwards2020-12-151-4/+4
| | | | Co-Author: Brad King <brad.king@kitware.com>
* cmTarget: Raise error if imported target location is not setRaul Tambre2020-08-215-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-v2Brad King2020-08-079-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 standardJustin Goshi2020-07-061-2/+16
|
* fileapi: Extend codemodel targets with language standardJustin Goshi2020-06-267-0/+262
|
* fileapi: Extend codemodel targets with PRECOMPILE_HEADERSJustin Goshi2020-05-224-0/+152
|
* Tests: Add a PCH example to RunCMake.FileAPI codemodel-v2Justin Goshi2020-05-223-0/+471
|
* Tests: Fix indentation in RunCMake.FileAPI cxx_exe.jsonBrad King2020-05-221-2/+2
|
* Fix dependencies on targets linked through object librariesBrad King2020-03-042-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 filesKyle Edwards2020-02-077-0/+120
|
* FileAPI test: Break gen_check_targets() into JSON filesKyle Edwards2020-02-0741-0/+4416
|
* FileAPI test: Break gen_check_directories() into JSON filesKyle Edwards2020-02-079-0/+148