summaryrefslogtreecommitdiffstats
path: root/Source/cmCMakePresetsGraphReadJSONTestPresets.cxx
Commit message (Collapse)AuthorAgeFilesLines
* IWYU: Update for Debian 13 CI jobBrad King2025-11-121-0/+1
| | | | | | | | | | | | | | | `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 ```
* Revise C++ coding style using clang-format with "east const"Kitware Robot2025-01-231-7/+7
| | | | | | | | | | | | | | | 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
* CMakePresets: Make error generators proper functionsKyle Edwards2023-08-161-14/+14
| | | | And rename cmCMakePresetErrors to cmCMakePresetsErrors.
* 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.
* presets: Improve JSON parser and error messagesMartin Duffy2023-03-291-81/+80
|
* CMakePresets.json: Add outputJUnitFile to test presets schemaKyle Edwards2022-10-181-0/+2
|
* cmJSONHelpers: Restructure cmJSONHelpersMartin Duffy2022-05-051-37/+29
| | | | Restructure cmJSONHelpers to prevent SunPro errors when passing context.
* cmCMakePresetsGraph: do not set default value for TestOutputTruncationFrank Winklmeier2022-04-121-7/+3
| | | | | | | The `TestOutputTruncation` is an optional preset. Do not set a default value to avoid failing the JSON schema version check. Closes issue #23411.
* ctest: add option for output truncationFrank Winklmeier2022-03-081-0/+39
| | | | | | | | | | Add `--test-output-truncation` to `ctest`. This option can be used to customize which part of the test output is being truncated. Currently supported values are `tail`, `middle` and `head`. Also add equivalent `CTEST_CUSTOM_TEST_OUTPUT_TRUNCATION` variable. Fixes: #23206
* Refactor: Split JSON processing into configure, build, and test presetsKyle Edwards2022-01-061-0/+360
Split up the file so that it won't be too big on some systems.