summaryrefslogtreecommitdiffstats
path: root/Source/cmFileAPIToolchains.cxx
Commit message (Collapse)AuthorAgeFilesLines
* fileapi: Use unsigned int consistently for version numbersCraig Scott2025-07-131-4/+4
| | | | | | | | | | | | | | The file API code used unsigned long to hold the major version in most places, but not all. Some places used unsigned int, and an important one of those is the cmFileApi::BuildVersion() function. As a result, it has never been safe for a large value not representable by an unsigned int to be used in these variables. Convert all of the file API version number variables and function arguments to use unsigned int consistently. This avoids any size mismatch warnings when passing values around. They also don't need to be unsigned long, as we never expect version numbers to be anything even close to what an unsigned int cannot represent.
* cmStrCat: use character literals where possibleBen Boeckel2025-05-151-1/+1
| | | | | Found and replaced using the `cmstrcat-to-char-literal` rule for `ast-grep`.
* 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 ```
* Revise C++ coding style using clang-format with "east const"Kitware Robot2025-01-231-5/+5
| | | | | | | | | | | | | | | Run the `clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`, now with "east const" enforcement. Use `clang-format` version 18. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit. Issue: #26123
* CMake code rely on cmList class for CMake lists management (part. 2)Marc Chevrier2023-04-291-3/+5
|
* fileapi: Make internal "toolchains" field tables more localBrad King2022-01-241-22/+19
| | | | | | | | `Toolchains::DumpToolchain` uses some statically initialized tables. Move them into its definition. This may avoid initializing them when not needed. Issue: #23126
* Rename cmProp in cmValueMarc Chevrier2021-09-211-2/+2
|
* cmFileAPI: Add "toolchains" object kind.Ben McMorran2021-01-121-0/+151
Fixes #19514