summaryrefslogtreecommitdiffstats
path: root/Source/cmFileAPICodemodel.cxx
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Merge topic 'unity-HEADER_FILE_ONLY'Brad King2019-11-121-0/+1
|\ | | | | | | | | | | | | 9a5418320e Unity: Don't include sources with HEADER_FILE_ONLY property set Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4023
| * Unity: Don't include sources with HEADER_FILE_ONLY property setCristian Adam2019-11-111-0/+1
| | | | | | | | | | | | Fixes: #19946 Fixes: #19947 Co-authored-by: Craig Scott <craig.scott@crascit.com>
* | cmFileAPI: Resolve full path in PCH source comparisonDaniel Eiband2019-11-111-1/+1
|/ | | | Issue: 19927
* PCH: Generate sources during Compute stepCristian Adam2019-10-091-0/+26
|
* Revise include order using clang-format-6.0Kitware Robot2019-10-011-15/+15
| | | | | Run the `clang-format.bash` script to update our C and C++ code to a new include order `.clang-format`. Use `clang-format` version 6.0.
* fileapi: add some source property backtracesJustin Goshi2019-09-261-22/+44
| | | | | Support backtraces for COMPILE_DEFINITIONS, COMPILE_OPTIONS, and INCLUDE_DIRECTORIES source properties.
* Merge topic 'fileapiLinkPathAndLinkDirBacktraces'Brad King2019-09-201-8/+12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 4d6334824d fileapi: add backtraces for LINK_PATH and LINK_DIRECTORIES 5bd65dff7a cmLocalGenerator: Add OutputLinkLibraries overload with backtraces 5d39e792ae cmGeneratorTarget: Store backtrace for target LINK_DIRECTORIES property 7da17ef797 cmLinkLineComputer: Add ComputeLinkLibraries overload with backtraces d4d0dd0f6a cmLinkLineComputer: Add ComputeLinkLibs overload with backtraces 0ac9dcb807 cmLinkLineComputer: Add ComputeLinkPath overload with backtraces 0c6468178a cmComputeLinkInformation: Add GetDirectoriesWithBacktraces a209b31d0d cmComputeLinkInformation: Add AppendValues with backtraces Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3805
| * fileapi: add backtraces for LINK_PATH and LINK_DIRECTORIESJustin Goshi2019-09-181-8/+12
| |
* | Merge topic 'modernize-use-auto'Brad King2019-09-121-2/+1
|\ \ | |/ |/| | | | | | | | | d25a5a7ec9 clang-tidy: modernize-use-auto Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3783
| * clang-tidy: modernize-use-autoRegina Pfeifer2019-09-101-2/+1
| | | | | | | | | | | | Set the MinTypeNameLength option to an impossibly high value in order to limit the diagnostics to iterators. Leave new expressions and cast expressions for later.
* | fileapi: add backtraces for compile/link optionsJustin Goshi2019-09-101-7/+13
|/
* Merge topic 'add-non-empty-configurations-getter'Brad King2019-09-031-8/+5
|\ | | | | | | | | | | | | 10507c6dc0 cmMakefile: Add configurations getter with empty configuration default Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3759
| * cmMakefile: Add configurations getter with empty configuration defaultDaniel Eiband2019-08-301-8/+5
| |
* | Merge topic 'rename-mutating-getfullpath-overload'Brad King2019-09-031-1/+1
|\ \ | | | | | | | | | | | | | | | | | | 2d888e3390 cmSourceFile: Rename mutating GetFullPath() overload Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3757
| * | cmSourceFile: Rename mutating GetFullPath() overloadDaniel Eiband2019-08-291-1/+1
| |/ | | | | | | Rename mutating GetFullPath() overload to ResolveFullPath().