summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FileAPI/codemodel-v2-data
Commit message (Collapse)AuthorAgeFilesLines
* fileapi: Add test launcher to codemodel-v2Ralf Habacker2023-12-137-1/+235
| | | | | We do not need to bump the minor version because it was recently bumped by addition of the cross-compiling emulator as another kind of launcher.
* fileapi: Make launcher attribute 'arguments' optionalRalf Habacker2023-12-131-1/+0
| | | | | This was missed in commit 80a64c9ce5 (fileapi: Add cross-compiling emulator to codemodel-v2, 2023-11-11).
* fileapi: Add cross-compiling emulator to codemodel-v2Ralf Habacker2023-12-017-2/+253
| | | | Fixes: #25408
* Merge topic 'fileapi-file-sets-base-dirs-relative'Brad King2023-11-202-5/+5
|\ | | | | | | | | | | | | | | | | a3a85524cd fileapi: Fix file sets' base directories relative to top source Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !8977
| * fileapi: Fix file sets' base directories relative to top sourceKyle Edwards2023-11-172-5/+5
| | | | | | | | | | | | | | | | This field was added by commit b3e9fb67bb (file-api: support exporting file set information, 2022-11-03, v3.26.0-rc1~389^2) but the relative path convention used elsewhere was accidentally left out. Fixes: #25422
* | cmExperimental: remove the flag for C++ modulesBen Boeckel2023-10-022-0/+102
| | | | | | | | | | | | | | All the major compilers now have scheduled releases with support for scanning, so remove the experimental gate. Fixes: #18355
* | OrangeC: Add support for OrangeC compilerDavid Lindauer2023-09-2514-24/+24
| | | | | | | | | | | | | | Add compiler information modules. Update the test suite. Fixes: #25032 Co-authored-by: Brad King <brad.king@kitware.com>
* | macOS: GNU toolchain: ensure framework, marked as SYSTEM, can be linkedMarc Chevrier2023-09-211-1/+1
| | | | | | | | Fixes: #25263
* | Tests: Fix FileAPI interface_exe testKyle Edwards2023-09-011-0/+41
| |
* | fileapi: Extend codemodel targets/compileGroups with Apple frameworksMarc Chevrier2023-05-1947-22/+720
|/ | | | Fixes: #19897
* file-api: support exporting file set informationBen Boeckel2022-11-0852-0/+168
| | | | | | | This includes listing the filesets themselves as well as which file set (if any) each source file is associated with. Fixes: #24128
* Xcode: Put object files in a place that Xcode cleansBrad King2022-10-284-6/+6
| | | | | | | | | Since commit dc5fc898f6 (Xcode: Set object file locations using TARGET_TEMP_DIR, 2022-09-29, v3.25.0-rc1~64^2~1), `xcodebuild clean` does not remove the object files in our explicit `TARGET_TEMP_DIR` because it is not under the `SYMROOT`. Put it there. Fixes: #24096
* target_*: Fix cross-directory call backtracesBrad King2022-08-221-47/+11
| | | | | | | Record the call-site backtrace, not the current backtrace of the target's directory. Fixes: #23873
* Tests: Add FileAPI case for cross-directory target_* commandsBrad King2022-08-2217-32/+237
| | | | | | | | | | | 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
* cmInstallExportGenerator: expose the temporary directoryBen Boeckel2022-04-281-1/+1
| | | | | | | | | | | | This needs to be known so that C++ module properties for the install can be staged beside the other files. Always perform the MD5 transformation (in non-bootstrap builds) so that the path can be computed prior to generation (where it used the longest configuration name to detect too-long paths). Update tests to expect the always-present MD5 value. Note that this improves robustness of the test suite as testing in a too-long path may have triggered the MD5 conversion anyways.
* FileAPI: Add information on file set installersKyle Edwards2021-10-279-23/+574
|
* 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