summaryrefslogtreecommitdiffstats
path: root/Source/cmCMakePresetsGraphReadJSON.cxx
Commit message (Collapse)AuthorAgeFilesLines
* presets: Add trace options to configure presetsArtin Alavi2023-03-301-1/+9
| | | | | | Add JSON schema version 7 to support them. Fixes: #22543
* presets: Improve JSON parser and error messagesMartin Duffy2023-03-291-198/+228
|
* Make vector operations more efficientRose2022-12-101-3/+1
|
* CMakePresets.json: Add outputJUnitFile to test presets schemaKyle Edwards2022-10-181-0/+5
|
* CMakePresets.json: Add workflow presets to schemaKyle Edwards2022-09-261-4/+33
|
* cmCMakePresetsGraph: Add package presetsKyle Edwards2022-08-311-1/+28
|
* presets: Add basic error forwarding from cmake preset json parserSankhesh Jhaveri2022-08-031-8/+15
| | | | | Print errors only if there are errors. Add filename for better introspection, particularly for FileNotFound errors with presets.
* cmJSONHelpers: Restructure cmJSONHelpersMartin Duffy2022-05-051-52/+43
| | | | Restructure cmJSONHelpers to prevent SunPro errors when passing context.
* cmCMakePresetsGraph: do not set default value for TestOutputTruncationFrank Winklmeier2022-04-121-1/+1
| | | | | | | 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/+5
| | | | | | | | | | 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
* presets: bump version to v5Frank Winklmeier2022-03-081-1/+1
| | | | Prepare for new test preset fields.
* CMakePresets: Allow files included from CMakePresets.json to be anywhereKyle Edwards2022-01-191-26/+0
| | | | | | There are some valid use cases for allowing these files to be outside the project directory. Relax the restriction, and include a strong warning in the documentation.
* CMakePresets: Add include fieldKyle Edwards2022-01-071-3/+57
| | | | Fixes: #21331
* Refactor: Generalize file graph in CMakePresetsKyle Edwards2022-01-071-9/+57
| | | | | | | | Before this refactoring, presets had a simple flag that marked them as "user" or "not user", and checking the file graph of two files was as simple as checking this flag. This only allowed for two files in the graph. Generalize the code to allow for arbitrarily many files in the graph.
* Refactor: Split JSON processing into configure, build, and test presetsKyle Edwards2022-01-061-599/+104
| | | | Split up the file so that it won't be too big on some systems.
* Refactor: Rename cmCMakePresetsFile to cmCMakePresetsGraphKyle Edwards2022-01-061-0/+1034
And change all references to "file" to say "graph" instead.