Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Source: fix -Wextra-semi-stmt warnings | Sean McBride | 2021-12-01 | 1 | -23/+23 |
| | |||||
* | CMakePresets: Check presets with their own file version | Kyle Edwards | 2021-07-27 | 1 | -5/+5 |
| | | | | | | | | | 06e6981 added support for optional binaryDir and generator, but use the dependent preset's file version instead of the current preset's file version. Check presets with their own file version instead of their dependent's file version. Fixes: #22428 | ||||
* | CMakePresets.json: Fix expansion issue with empty binaryDir | Kyle Edwards | 2021-07-16 | 1 | -4/+6 |
| | | | | | | | | When resolving binaryDir into a full path from a relative path, we forgot to check if binaryDir is altogether empty, causing empty binaryDir's to resolve to the source directory. Fix this. Fixes: #22434 | ||||
* | cmake-presets: Introduce `toolchainFile` preset option | Robert Maynard | 2021-04-28 | 1 | -0/+10 |
| | | | | | In v3 of the presets, the `--toolchain` command line argument now has a preset mapping. | ||||
* | cmake-presets: Make generator and binaryDir fields optional | friendlyanon | 2021-04-06 | 1 | -16/+22 |
| | | | | | | | | 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 condition | Kyle Edwards | 2021-03-31 | 1 | -0/+20 |
| | |||||
* | CMakePresets.json: Add the ability to conditionally disable presets | Kyle Edwards | 2021-03-22 | 1 | -3/+106 |
| | |||||
* | Refactor: Move some common code into separate file | Kyle Edwards | 2021-03-19 | 1 | -17/+3 |
| | | | | | | This code is going to be needed by both cmCMakePresetsFile and cmCMakePresetsFileReadJSON when the upcoming condition types are created. Move it into a header file. | ||||
* | Refactor: Move cmCMakePresetsFile::ReadJSON into a separate file | Kyle Edwards | 2021-03-19 | 1 | -787/+0 |
| | | | | | | Some compilers complain about translation units that are too large. In order to prepare for upcoming additions to cmCMakePresetsFile, split ReadJSON into a separate file. | ||||
* | Merge topic 'dev/safreed/invalidconfigurepreset' | Brad King | 2021-03-17 | 1 | -4/+12 |
|\ | | | | | | | | | | | | | | | | | bc663dc333 Merge branch 'master' into invalid-configure-preset b9eb3541cf Tests: update tests to catch invalid configurePreset at read-time 83eeeff7dc Fail at read-time if configurePreset field invalid Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5912 | ||||
| * | Merge branch 'master' into invalid-configure-preset | Kyle Edwards | 2021-03-16 | 1 | -1/+24 |
| |\ | |||||
| * | | Fail at read-time if configurePreset field invalid | Sam Freed | 2021-03-15 | 1 | -4/+12 |
| | | | |||||
* | | | CMakePresets.json: Add ${hostSystemName} macro | Kyle Edwards | 2021-03-15 | 1 | -1/+9 |
| | | | |||||
* | | | Refactor: Pass CMakePresets.json version to ExpandMacros() functions | Kyle Edwards | 2021-03-15 | 1 | -39/+61 |
| |/ |/| | |||||
* | | cmake: configure preset add support for --install-prefix mapping | Robert Maynard | 2021-03-09 | 1 | -1/+24 |
|/ | |||||
* | Merge branch 'backport-3.19-preset-no-comments' into preset-no-comments | Brad King | 2021-02-24 | 1 | -0/+1 |
|\ | |||||
| * | CMakePresets.json: Remove undocumented support for comments | Kyle Edwards | 2021-02-24 | 1 | -0/+1 |
| | | | | | | | | Fixes: #21858 | ||||
| * | Merge topic 'cmake-presets-toolset-arch-config' into release-3.19 | Craig Scott | 2020-10-23 | 1 | -14/+52 |
| |\ | | | | | | | | | | | | | | | | | | | 64afabdbcb CMakePresets.json: Split cmakeGeneratorConfig field Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5387 | ||||
* | | | presets: Inherit 'quiet' property for test presets | Sam Freed | 2021-02-15 | 1 | -0/+1 |
| | | | | | | | | | | | | This was missed in the original implementation. | ||||
* | | | presets: Remove unintended rerunFailed option from test presets | Sam Freed | 2021-02-15 | 1 | -3/+0 |
| | | | | | | | | | | | | | | | | | | | | | This was accidentally included after discussion in #21391 had decided to leave it out. It was never included in a release. Issue: #21391 | ||||
* | | | cmake-presets: Add build and test presets | Sam Freed | 2021-02-01 | 1 | -213/+1047 |
| | | | | | | | | | | | | Fixes: #21391 | ||||
* | | | clang-tidy: fix `readability-use-anyofallof` warnings | Ben Boeckel | 2021-01-27 | 1 | -12/+8 |
| | | | |||||
* | | | Merge topic 'cmake-presets-toolset-arch-config' | Craig Scott | 2020-10-23 | 1 | -14/+52 |
|\ \ \ | |/ / |/| / | |/ | | | | | | | 64afabdbcb CMakePresets.json: Split cmakeGeneratorConfig field Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5387 | ||||
| * | CMakePresets.json: Split cmakeGeneratorConfig field | Kyle Edwards | 2020-10-22 | 1 | -14/+52 |
| | | | | | | | | | | | | | | | | 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: Add ${sourceDirName} macro | Kyle Edwards | 2020-10-22 | 1 | -0/+4 |
|/ | | | | Fixes: #21312 | ||||
* | Merge topic 'cmake-presets-invalid-macro' into release-3.19 | Kyle Edwards | 2020-10-22 | 1 | -111/+159 |
|\ | | | | | | | | | | | | | 638557cbfe CMakePresets.json: Properly report macro expansion errors Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5397 | ||||
| * | CMakePresets.json: Properly report macro expansion errors | Kyle Edwards | 2020-10-21 | 1 | -111/+159 |
| | | | | | | | | | | | | | | | | Make a distinction between strings which simply use the $vendor{<...>} macro, which is valid but makes it unusable by CMake, and strings which actually contain invalid macro expansions. Fixes: #21308 | ||||
* | | CMakePresets.json: Allow boolean for cache variable value | Kyle Edwards | 2020-10-21 | 1 | -1/+23 |
|/ | | | | Fixes: #21327 | ||||
* | CMakePresets.json: Prohibit empty variable names | Kyle Edwards | 2020-10-06 | 1 | -1/+11 |
| | |||||
* | CMake: Add presets functionality | Kyle Edwards | 2020-10-05 | 1 | -2/+2 |
| | |||||
* | Presets: Add cmCMakePresetsFile class | Kyle Edwards | 2020-10-05 | 1 | -0/+763 |