| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- {
- "version": 3,
- "cmakeMinimumRequired": {
- "major": 3,
- "minor": 20,
- "patch": 0
- },
- "configurePresets": [
- {
- "name": "default",
- "displayName": "Default Config",
- "description": "Default build using Ninja generator",
- "generator": "Ninja",
- "binaryDir": "${sourceDir}/build/default",
- "cacheVariables": {
- "FIRST_CACHE_VARIABLE": {
- "type": "BOOL",
- "value": "OFF"
- },
- "SECOND_CACHE_VARIABLE": "ON"
- },
- "environment": {
- "MY_ENVIRONMENT_VARIABLE": "Test",
- "PATH": "$env{HOME}/ninja/bin:$penv{PATH}"
- },
- "vendor": {
- "example.com/ExampleIDE/1.0": {
- "autoFormat": true
- }
- }
- },
- {
- "name": "ninja-multi",
- "inherits": "default",
- "displayName": "Ninja Multi-Config",
- "description": "Default build using Ninja Multi-Config generator",
- "generator": "Ninja Multi-Config"
- },
- {
- "name": "windows-only",
- "inherits": "default",
- "displayName": "Windows-only configuration",
- "description": "This build is only available on Windows",
- "condition": {
- "type": "equals",
- "lhs": "${hostSystemName}",
- "rhs": "Windows"
- }
- }
- ],
- "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
- }
- }
- }
|