summaryrefslogtreecommitdiffstats
path: root/Source/cmExportBuildCMakeConfigGenerator.h
Commit message (Collapse)AuthorAgeFilesLines
* IWYU: Update for Debian 13 CI jobBrad King2025-11-121-4/+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 13. Some patterns: * Types named in virtual `override` signatures no longer require includes since the overridden signature already names them. * A function argument's type needs to be included even if its constructor is called only by implicit conversion. For example, constructing a `std::function` from a lambda now requires `<functional>`. * Some prior mysterious `<type_traits>` inclusions are no longer required.
* LICENSE: Replace references to Copyright.txt with LICENSE.rstKitware Robot2025-03-031-1/+1
| | | | | | | | | | ``` git grep -lz 'Copyright.txt or https://cmake.org/licensing ' | while IFS= read -r -d $'\0' f ; do sed -i '/Copyright.txt or https:\/\/cmake.org\/licensing / { s/Copyright.txt/LICENSE.rst/ }' "$f" ; done ```
* export: Factor out CMake-specific export generation (2/2)Matthew Woehlke2024-07-231-92/+9
| | | | | | | | | | | | | | | | | | In order to support generation of Common Package Specifications, the mechanisms CMake uses to export package information need to be made more abstract. The prior commits began this refactoring; this continues by (actually) restructuring the classes used to generate the actual export files. To minimize churn, this introduces virtual base classes and diamond inheritance in order to separate logic which is format-agnostic but depends on the export mode (build-tree versus install-tree) from logic which is format-specific but mode-agnostic. This could probably be refactored further to use helper classes instead, and a future commit may do that, however an initial attempt to do that was proving even more invasive, such that this approach was deemed more manageable. While we're at it, add 'const' in more places where possible.
* export: Fix const placementMatthew Woehlke2024-07-181-5/+5
| | | | | | | | Use clang-format to fix placement of const qualifiers to be consistently right of the typename. The inconsistency was getting annoying, especially as the following refactor changes a lot of methods and sometimes adds const. (Being inconsistent within a file is not ideal, but in some cases there was inconsistency within single lines!)
* export: Factor out CMake-specific export generation (*/2)Matthew Woehlke2024-07-181-0/+135
In order to support generation of Common Package Specifications, the mechanisms CMake uses to export package information need to be made more abstract. This will involve substantial refactoring of the classes used to generate the actual export files. In order to help git track what's happening, create the new files as copies of the files that will serve as their source material. The class names have been updated and formatting repaired, but no other refactoring has been done, which should still allow git to detect the copies. This commit is a purely intermediate step that exists for no other reason than to improve history tracking.