summaryrefslogtreecommitdiffstats
path: root/Source/cmCMakePresetsGraph.cxx
Commit message (Collapse)AuthorAgeFilesLines
* CMakePresets: Make error generators proper functionsKyle Edwards2023-08-161-45/+45
| | | | And rename cmCMakePresetErrors to cmCMakePresetsErrors.
* IWYU: Update for Debian 12 CI jobBrad King2023-07-281-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 12.
* presets: add support for macro expansion to includesZoran Angelov2023-04-261-14/+8
| | | | Only `$penv{}` can be expanded when processing includes.
* presets: Fix encoding of env/penv macro expansion on WindowsBrad King2023-04-261-4/+3
| | | | | Look up environment variables using a wide-character API on Windows, and convert their value to our internal UTF-8 encoding.
* presets: Improve JSON parser and error messagesMartin Duffy2023-03-291-201/+178
|
* CMakePresets.json: Add outputJUnitFile to test presets schemaKyle Edwards2022-10-181-0/+5
|
* CMakePresets.json: Add workflow presets to schemaKyle Edwards2022-09-261-0/+139
|
* cmCMakePresetsGraph: Clear package presets in ClearPresets()Kyle Edwards2022-09-151-0/+2
|
* CMakePresets.json: Fix error message for unsupported package presetsKyle Edwards2022-09-131-1/+1
|
* cmCMakePresetsGraph: Add package presetsKyle Edwards2022-08-311-0/+117
|
* CMakePresets.json: Fix formatting of --list-presets=allKyle Edwards2022-08-311-10/+27
| | | | | Only print an extra newline after a section if that section was actually printed.
* presets: Add basic error forwarding from cmake preset json parserSankhesh Jhaveri2022-08-031-4/+6
| | | | | Print errors only if there are errors. Add filename for better introspection, particularly for FileNotFound errors with presets.
* cmake-presets: add ${pathListSep} macroErin Melucci2022-05-121-0/+7
| | | | Fixes: #23282
* Merge topic 'ctest_truncate'Brad King2022-03-091-0/+5
|\ | | | | | | | | | | | | | | | | 140704d443 ctest: add option for output truncation 359e5b17d8 presets: bump version to v5 4634de335b cmCTestTestHandler: refactor CleanTestOutput method Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6993
| * 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
* | CMakePresets.json: Add ${fileDir} macroKyle Edwards2022-03-071-0/+8
|/ | | | Fixes: #23214
* CMakePresets.json: Ensure configurePreset is reachable from current fileKyle Edwards2022-02-021-2/+12
|
* Merge topic 'vs-package-restore'Brad King2022-01-241-0/+3
|\ | | | | | | | | | | | | | | | | | | 9aa7831f05 Presets: add resolve packages setting to build presets. b2f8f0bb87 cmGlobalVisualStudio10Generator: Auto restore NuGet packages. 193b8fca52 cmBuildOptions: Split build arguments into separate object. 6a10103493 Help: Update preset schema description for version 3 entries. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6761
| * Presets: add resolve packages setting to build presets.Carsten Rudolph2022-01-221-0/+3
| |
* | CMakePresets: Allow files included from CMakePresets.json to be anywhereKyle Edwards2022-01-191-2/+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-0/+6
| | | | Fixes: #21331
* Refactor: Generalize file graph in CMakePresetsKyle Edwards2022-01-071-13/+23
| | | | | | | | 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: Rename cmCMakePresetsFile to cmCMakePresetsGraphKyle Edwards2022-01-061-0/+1116
And change all references to "file" to say "graph" instead.