Ben Boeckel
ef935b17ab
clang-tidy: fix readability-use-anyofallof
warnings
2021-01-27 08:54:18 -05:00
Craig Scott
dbd1d737f9
Merge topic 'cmake-presets-toolset-arch-config'
...
64afabdbcb
CMakePresets.json: Split cmakeGeneratorConfig field
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5387
2020-10-23 06:37:56 -04:00
Kyle Edwards
64afabdbcb
CMakePresets.json: Split cmakeGeneratorConfig field
...
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
2020-10-22 11:24:39 -04:00
Kyle Edwards
25742c589c
CMakePresets.json: Add ${sourceDirName} macro
...
Fixes : #21312
2020-10-22 11:09:28 -04:00
Kyle Edwards
609122007d
Merge topic 'cmake-presets-invalid-macro' into release-3.19
...
638557cbfe
CMakePresets.json: Properly report macro expansion errors
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5397
2020-10-22 11:05:09 -04:00
Kyle Edwards
920d180047
CMakePresets.json: Allow boolean for cache variable value
...
Fixes : #21327
2020-10-21 10:37:08 -04:00
Kyle Edwards
638557cbfe
CMakePresets.json: Properly report macro expansion errors
...
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
2020-10-21 09:20:52 -04:00
Kyle Edwards
a395cb516b
CMakePresets.json: Prohibit empty variable names
2020-10-06 12:09:38 -04:00
Kyle Edwards
8617479061
CMake: Add presets functionality
2020-10-05 09:49:59 -04:00
Kyle Edwards
06128cf949
Presets: Add cmCMakePresetsFile class
2020-10-05 09:49:59 -04:00