summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FileAPI/codemodel-v2.cmake
Commit message (Collapse)AuthorAgeFilesLines
* fileAPI: Add test coverage for interface direct and genex contextsCraig Scott2025-10-071-0/+1
|
* MSVC: Always define a character setAJIOB2025-10-071-0/+1
| | | | | | | | | | When targeting the MSVC ABI, define `_MBCS` by default if the project does not define `_SBCS` or `_UNICODE`. Visual Studio has long defined one of the three character set macros automatically. For consistency, define it when compiling for the MSVC ABI with other generators. Add policy CMP0204 for compatibility. Fixes: #27275
* MSVC: Define _WINDLL consistently for shared librariesAJIOB2025-09-291-0/+2
| | | | | | | | Visual Studio defines this automatically for `.dll` targets. For consistency, define it when compiling for the MSVC ABI with other generators. Add policy CMP0203 for compatibility. Fixes: #27253
* Tests: choose an explicit FULL strategy in tests expecting itBen Boeckel2025-07-291-0/+2
| | | | | | Since it can be set in the environment when running the test suite, guard tests which are sensitive to intermediate directory strategy changes with explicit settings.
* fileapi: Generate partial reply when buildsystem generation failsBrad King2025-04-141-0/+4
| | | | | | | In particular, the `configureLog` reply is useful for IDEs to read `CMakeFiles/CMakeConfigureLog.yaml` when configuration fails. Fixes: #26621
* fileapi: Report DEBUGGER_WORKING_DIRECTORY in codemodel-v2 target objectsGarrett Campbell2024-12-101-0/+1
| | | | Closes: #16478
* Tests: Explicitly disable AIX_SHARED_LIBRARY_ARCHIVE in some casesBrad King2024-11-231-0/+2
| | | | | We do not want AIX shared library archives in test cases that rely on cross-platform appearance of `.so` files.
* fileapi: Extend codemodel targets/compileGroups with Apple frameworksMarc Chevrier2023-05-191-0/+1
| | | | Fixes: #19897
* 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