build: add basic cmake-presets integration (#19128)

This allows a more declarative way of defining targets which may be easier to those not familiar with cmake quirks.

Example usage:

# get a list of pre-configured presets
cmake --list-presets

# configure a preset
cmake . --preset=default

# build it
cmake --build --preset=default
This commit is contained in:
kylo252
2022-09-19 10:58:26 +02:00
committed by GitHub
parent 7a091fdfaf
commit 875b58e094
2 changed files with 97 additions and 0 deletions

2
.gitignore vendored
View File

@@ -73,3 +73,5 @@ tags
# vim patches
/vim-*.patch
/CMakeUserPresets.json