summaryrefslogtreecommitdiffstats
path: root/Source/cmFileAPICodemodel.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Add genex support to TEST_LAUNCHER and CROSSCOMPILING_EMULATORBrad King2024-01-291-12/+16
| | | | | | | | Evaluate generator expressions in these properties, as they apply to `add_test`, `add_custom_command`, and `add_custom_target`. The `CMAKE_CROSSCOMPILING_EMULATOR` variable's `try_run` behavior occurs at configure time and so cannot support generator expressions.
* fileapi: Add test launcher to codemodel-v2Ralf Habacker2023-12-131-5/+8
| | | | | 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/+3
| | | | | This was missed in commit 80a64c9ce5 (fileapi: Add cross-compiling emulator to codemodel-v2, 2023-11-11).
* cmFileAPICodemodel: Add missing std::move()Ralf Habacker2023-12-131-2/+2
| | | | | 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-011-0/+46
| | | | Fixes: #25408
* Merge topic 'fileapi-file-sets-base-dirs-relative'Brad King2023-11-201-1/+1
|\ | | | | | | | | | | | | | | | | 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-171-1/+1
| | | | | | | | | | | | | | | | 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
* | cmGeneratorTarget: classify BMI-only C++ module sourcesBen Boeckel2023-08-171-0/+1
| |
* | IWYU: Update for Debian 12 CI jobBrad King2023-07-281-1/+0
| | | | | | | | | | | | `include-what-you-use` diagnostics, in practice, are specific to the environment's compiler and standard library. Update includes to satisfy IWYU for our CI job under Debian 12.
* | fileapi: Extend codemodel targets/compileGroups with Apple frameworksMarc Chevrier2023-05-191-5/+43
| | | | | | | | Fixes: #19897
* | cmGeneratorTarget: Pass language to GetAppleArchs when possibleBrad King2023-03-151-1/+1
| |
* | cmGeneratorTarget: Convert GetAppleArchs output argument to return valueBrad King2023-03-151-2/+2
|/
* Make vector operations more efficientRose2022-12-101-0/+1
|
* file-api: support exporting file set informationBen Boeckel2022-11-081-7/+104
| | | | | | | This includes listing the filesets themselves as well as which file set (if any) each source file is associated with. Fixes: #24128
* install: support `CXX_MODULES_BMI` installation bitsBen Boeckel2022-07-061-0/+16
|
* cmTarget: Add `HasKnownObjectFileLocation()` shorthandHyper Nova Sun2022-04-111-1/+1
| | | | | | | | Allow `cmGlobalGenerator`s to decide `HasKnownObjectFileLocation()` per given `cmTarget` - `cmGlobalGenerator::HasKnownObjectFileLocation()` now takes an optional `cmGeneratorTarget` - `cmTarget::HasKnownObjectFileLocation()` added as a shorthand
* FileAPI: Add information on file set installersKyle Edwards2021-10-271-0/+49
|
* Rename cmProp in cmValueMarc Chevrier2021-09-211-9/+9
|
* cmProp: refactoring: transform alias in classMarc Chevrier2021-08-081-2/+1
| | | | | | To handle safely the values used by CMake variables and properties, introduce the class cmProp as a replacement from the simple pointer to std::string instance.
* Merge topic 'fileapi-link-fragments'Brad King2021-06-141-4/+5
|\ | | | | | | | | | | | | 68bbec66e0 fileapi: Fix codemodel-v2 link command fragment relative paths Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6220
| * fileapi: Fix codemodel-v2 link command fragment relative pathsBrad King2021-06-111-4/+5
| | | | | | | | | | | | | | Use the same `cmLinkLineComputer` subclass as the generator does. This affects the base directory from which relative paths are computed. Fixes: #22301
* | Merge topic 'install-with-runtime-dependencies'Brad King2021-06-081-2/+26
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8d898cb3e1 FileAPI: Add integration for runtime dependency installers 72f2448e82 Help: Add documentation for runtime dependency installation 0c3c6acaff Tests: Add tests for new options 4910132d8c install: Add RUNTIME_DEPENDENCY_SET mode bc8a4a06a4 install(IMPORTED_RUNTIME_ARTIFACTS): Add RUNTIME_DEPENDENCY_SET option 3e7d3c252a install(TARGETS): Add RUNTIME_DEPENDENCY_SET argument ed3633d88c install(TARGETS): Add RUNTIME_DEPENDENCIES option f2617cf8e6 Source: Add cmInstallRuntimeDependencySet ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6186
| * | FileAPI: Add integration for runtime dependency installersKyle Edwards2021-06-041-2/+26
| | |
* | | cmFileAPICodemodel: Assert input in DirectoryObject::DumpInstallerBrad King2021-06-031-0/+1
|/ / | | | | | | This tells clang-analyzer that the `gen` argument is never `nullptr`.
* | FileAPI: Populate information for IMPORTED_RUNTIME_ARTIFACTSKyle Edwards2021-05-311-0/+10
| |
* | install: Implement new install(CODE|SCRIPT) option ALL_COMPONENTSNils Gladitz2021-05-191-0/+5
| | | | | | | | | | | | | | | | | | | | | | 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.
* | cmSystemTools: Adopt RelativeIfUnder helperBrad King2021-05-171-9/+1
| | | | | | | | This returns a relative path if it does not start in `../`.
* | fileapi: Add installers to codemodel-v2 "directory" objectBrad King2021-03-161-3/+217
| | | | | | | | Co-Authored-by: Kyle Edwards <kyle.edwards@kitware.com>
* | fileapi: Add backtraceGraph to codemodel-v2 "directory" objectBrad King2021-03-161-0/+13
| | | | | | | | Co-Authored-by: Kyle Edwards <kyle.edwards@kitware.com>
* | fileapi: Add a "directory" object to codemodel-v2Brad King2021-03-161-1/+71
| | | | | | | | | | | | This object will contain more detailed directory-level information. Co-Authored-by: Kyle Edwards <kyle.edwards@kitware.com>
* | fileapi: Re-organize backtrace infrastructureBrad King2021-03-161-84/+84
| | | | | | | | Make it available to more parts of the codemodel object.
* | cmFileAPICodemodel: Build map from each target to its indexBrad King2021-03-161-0/+7
|/
* clang-tidy: fix `readability-qualified-auto` warningsBen Boeckel2021-01-271-1/+1
|
* Code style: add missed explicit 'this->'Oleksandr Koval2021-01-051-1/+1
| | | | | CMake uses explicit 'this->' style. Using custom clang-tidy check we can detect and fix places where 'this->' was missed.
* cmMakefile::GetDefinition: return cmPropVitaly Stakhovsky2020-09-021-8/+8
|
* fileapi: Add INTERFACE libraries with SOURCES to codemodel-v2Brad King2020-08-071-1/+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: Support multiple backtraces for language standardJustin Goshi2020-07-061-14/+55
|
* cmMakefile: Refactor API to better handle empty config valuesRobert Maynard2020-07-031-1/+1
|
* fileapi: Extend codemodel targets with language standardJustin Goshi2020-06-261-0/+36
|
* Single location for cmProp typedefVitaly Stakhovsky2020-06-011-0/+1
|
* Merge topic 'fileApiAddPrecompileHeadersBacktrace'Brad King2020-05-251-0/+30
|\ | | | | | | | | | | | | | | | | | | 9f6d40ee23 fileapi: Extend codemodel targets with PRECOMPILE_HEADERS b698764a31 Tests: Add a PCH example to RunCMake.FileAPI codemodel-v2 b3812c0e54 Tests: Fix indentation in RunCMake.FileAPI cxx_exe.json 9c48804b69 PCH: Fix source group of per-architecture PCH headers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4684
| * fileapi: Extend codemodel targets with PRECOMPILE_HEADERSJustin Goshi2020-05-221-0/+30
| |
* | Refactoring: Third-parties public headers are under cm3p prefixMarc Chevrier2020-05-071-1/+1
|/ | | | Fixes: #20666
* cmGeneratorTarget::GetProperty: return cmPropVitaly Stakhovsky2020-04-291-2/+2
|
* cmSourceFile::GetProperty: return cmPropVitaly Stakhovsky2020-04-141-4/+4
|
* PCH: Add support for multi architecture iOS projectsCristian Adam2020-04-021-6/+19
| | | | Fixes: #20497
* cmMakefile: modernize memory managementMarc Chevrier2020-01-141-2/+3
|
* cmGlobalGenerator: modernize memrory managemenbtMarc Chevrier2019-12-301-1/+1
|
* Refactoring: use append functions from cmext/algorithmMarc Chevrier2019-12-171-2/+3
|
* cmLocalGenerator: modernize memory managementMarc Chevrier2019-12-091-4/+4
|