summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FileAPI/codemodel-v2.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Add FileAPI case for cross-directory target_* commandsBrad King2022-08-221-0/+3
| | | | | | | | | | | The backtraces for some of the commands incorrectly come from the target's directory instead of the caller's directory. Expect the incorrect backtraces in test results for now. Increase the minimum required version of CMake in the test case to enable policy CMP0079 to support cross-directory calls. Issue: #23873
* FileAPI: Add information on file set installersKyle Edwards2021-10-271-0/+1
|
* install: Implement new install(CODE|SCRIPT) option ALL_COMPONENTSNils Gladitz2021-05-191-0/+1
| | | | | | | | | | | 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.
* fileapi: Add a "directory" object to codemodel-v2Brad King2021-03-161-1/+16
| | | | | | This object will contain more detailed directory-level information. Co-Authored-by: Kyle Edwards <kyle.edwards@kitware.com>
* fileapi: Add INTERFACE libraries with SOURCES to codemodel-v2Brad King2020-08-071-0/+1
| | | | | | | | | | | | 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: Fix codemodel target install destination for cross-dir rulesBrad King2019-07-311-0/+2
| | | | | | | | | | | | Since commit e89ad0f94e (install: Allow installing targets created in another directory, 2018-06-18, v3.13.0-rc1~407^2) we support calling `install(TARGETS)` for targets created in another directory. However, install generators are associated with the directory in which the call to `install()` appears. This may not be the same directory in which the target is defined. Record in each target the list of install generators it has. Fixes: #19546
* fileapi: extend codemodel v2 with a project modelBrad King2018-12-121-0/+1
| | | | | | | | | Offer clients a `project()`-centric view of the build system. This is similar to the directory-centric view but consolidates subdirectories that do not call `project()` with a new project name. Issue: #18398 Co-Author: Kyle Edwards <kyle.edwards@kitware.com>
* fileapi: Add test for codemodel v2Kyle Edwards2018-12-121-1/+34
|
* fileapi: add codemodel v2Brad King2018-12-121-0/+1
Start with v2 to distinguish it from server-mode v1. Issue: #18398