summaryrefslogtreecommitdiffstats
path: root/Help/manual
diff options
context:
space:
mode:
authorMichael Hirsch <scivision@users.noreply.gitlab.kitware.com>2021-02-18 04:14:49 (GMT)
committerBrad King <brad.king@kitware.com>2021-02-18 19:53:28 (GMT)
commit87b170d9f9bdbcf4249e709864d90efce151883a (patch)
tree9991b0b723a654918b110a943c1751fca5d96e00 /Help/manual
parent3f8cf006cb2c32ef70a5257e3402350b33796302 (diff)
downloadCMake-87b170d9f9bdbcf4249e709864d90efce151883a.zip
CMake-87b170d9f9bdbcf4249e709864d90efce151883a.tar.gz
CMake-87b170d9f9bdbcf4249e709864d90efce151883a.tar.bz2
Help: Add build and test preset to examples in cmake-presets(7)
Co-Author: Brad King <brad.king@kitware.com>
Diffstat (limited to 'Help/manual')
-rw-r--r--Help/manual/presets/example.json18
1 files changed, 16 insertions, 2 deletions
diff --git a/Help/manual/presets/example.json b/Help/manual/presets/example.json
index d3b6f4a..dfc2910 100644
--- a/Help/manual/presets/example.json
+++ b/Help/manual/presets/example.json
@@ -1,8 +1,8 @@
{
- "version": 1,
+ "version": 2,
"cmakeMinimumRequired": {
"major": 3,
- "minor": 19,
+ "minor": 20,
"patch": 0
},
"configurePresets": [
@@ -37,6 +37,20 @@
"generator": "Ninja Multi-Config"
}
],
+ "buildPresets": [
+ {
+ "name": "default",
+ "configurePreset": "default"
+ }
+ ],
+ "testPresets": [
+ {
+ "name": "default",
+ "configurePreset": "default",
+ "output": {"outputOnFailure": true},
+ "execution": {"noTestsAction": "error", "stopOnFailure": true}
+ }
+ ],
"vendor": {
"example.com/ExampleIDE/1.0": {
"autoFormat": false