summaryrefslogtreecommitdiffstats
path: root/Help/manual/presets
Commit message (Collapse)AuthorAgeFilesLines
* CTest: Add support for outputJUnitFile in presetsKyle Edwards2022-10-181-1/+72
| | | | Fixes: #22400
* CMakePresets.json: Disallow extra properties in test output schemaKyle Edwards2022-10-181-3/+52
| | | | And add test for testOutputTruncation being unsupported.
* cmake: Add --workflow modeKyle Edwards2022-09-272-3/+105
| | | | Fixes: #23118
* Help: Add package preset to example presets fileKyle Edwards2022-09-221-1/+10
|
* CPack: Add support for presetsKyle Edwards2022-08-311-4/+196
| | | | Fixes: #23117
* Merge topic 'ctest_truncate'Brad King2022-03-092-3/+72
|\ | | | | | | | | | | | | | | | | 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-1/+24
| | | | | | | | | | | | | | | | | | | | 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-082-3/+49
| | | | | | | | Prepare for new test preset fields.
* | Help: Improve wording and structure related to preset includesCraig Scott2022-03-021-1/+5
|/ | | | | | | | | | | Encourage placing preset includes near the beginning of a preset file and ensure the example shows that usage. Move the prose discussing includes to its own section to improve discoverability and break up paragraphs to make each main point harder to miss. Also clarify ${sourceDir} to remove any ambiguity with regard to its meaning in included files. Issue: #23214
* Presets: add resolve packages setting to build presets.Carsten Rudolph2022-01-221-1/+52
|
* Help: Update preset schema description for version 3 entries.Carsten Rudolph2022-01-211-4/+4
|
* CMakePresets: Add include fieldKyle Edwards2022-01-072-1/+23
| | | | Fixes: #21331
* Help: Use stronger wording in rule about preset inheritanceYonggang Luo2021-11-081-3/+3
|
* Help: Fix preset example cmakeMinimumRequiredSérgio Martins2021-07-121-1/+1
| | | | | | | | Since commit 8bc5c8961e (CMakePresets.json: Add the ability to conditionally disable presets, 2021-03-10, v3.21.0-rc1~464^2) the example requires presets version 3 support, which is not available until CMake 3.21. CMake 3.20.0 can't open v3 presets. Make cmakeMinimumRequired compatible with the example's version.
* Merge topic 'extend_toolchain_flag_to_cmake_preset'Brad King2021-05-041-0/+5
|\ | | | | | | | | | | | | a9b968bb98 cmake-presets: Introduce `toolchainFile` preset option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6045
| * cmake-presets: Introduce `toolchainFile` preset optionRobert Maynard2021-04-281-0/+5
| | | | | | | | | | In v3 of the presets, the `--toolchain` command line argument now has a preset mapping.
* | cmake-presets: Remove incorrect documentation for `installDir`Robert Maynard2021-04-271-1/+1
|/
* cmake-presets: Make generator and binaryDir fields optionalfriendlyanon2021-04-061-0/+8
| | | | | | | | In v3 of the presets, generator and buildDir can be omitted to fall back to regular cmake behavior when these values are not explicitly provided by the user. Fixes: #21987
* CMakePresets.json: Add matches conditionKyle Edwards2021-03-311-0/+48
|
* Merge topic 'cmake-presets-condition'Brad King2021-03-232-9/+360
|\ | | | | | | | | | | | | | | | | 8bc5c8961e CMakePresets.json: Add the ability to conditionally disable presets ce6ea7c927 Refactor: Move some common code into separate file ebbd475e54 Refactor: Move cmCMakePresetsFile::ReadJSON into a separate file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5919
| * CMakePresets.json: Add the ability to conditionally disable presetsKyle Edwards2021-03-222-9/+360
| |
* | Help: Fix typos in presets schema field descriptionsAdriaan de Groot2021-03-181-1/+1
| |
* | Merge branch 'backport-preset-schema-typos' into preset-schema-typosBrad King2021-03-181-15/+15
|\ \ | |/ |/|
| * Help: Fix typos in presets schema field descriptionsAdriaan de Groot2021-03-181-15/+15
| |
* | cmake: configure preset add support for --install-prefix mappingRobert Maynard2021-03-091-3/+91
|/
* Help: Add build and test preset to examples in cmake-presets(7)Michael Hirsch2021-02-181-2/+16
| | | | Co-Author: Brad King <brad.king@kitware.com>
* Help: Add buildPresets and testPresets to JSON schemaSam Freed2021-01-271-13/+472
|
* CMakePresets.json: Split cmakeGeneratorConfig fieldKyle Edwards2020-10-221-11/+49
| | | | | | | | Make this field separate for both architecture and toolset. Allow architecture and toolset to be either strings or objects with value and strategy fields. Fixes: #21317
* CMakePresets.json: Allow boolean for cache variable valueKyle Edwards2020-10-211-2/+14
| | | | Fixes: #21327
* Help: Add JSON schema for CMakePresets.jsonBen McMorran2020-10-201-0/+242
|
* Help: Add inheritance to CMakePresets.json exampleKyle Edwards2020-10-191-0/+7
|
* Help: Show environment fieldKyle Edwards2020-10-191-0/+4
|
* Help: Show multiple ways of doing cacheVariablesKyle Edwards2020-10-191-2/+3
| | | | | This demonstrates both the simple string and the complex object, and ensures that they get automated testing.
* Help: Move vendor field into exampleKyle Edwards2020-10-191-1/+11
| | | | | This ensures that the vendor field gets automated testing from the example.
* Tests: Test the CMakePresets.json example in the documentationKyle Edwards2020-10-091-0/+23