-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMakeLists.txt Use CMakePresets instead of CMakeSettings (#3730)
Co-authored-by: Stephan T. Lavavej <[email protected]> Co-authored-by: Michael Schellenberger Costa <[email protected]>
- Loading branch information
1 parent
fc444ce
commit efcf433
Showing
3 changed files
with
101 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
{ | ||
"version": 5, | ||
"cmakeMinimumRequired": { | ||
"major": 3, | ||
"minor": 26, | ||
"patch": 0 | ||
}, | ||
"configurePresets": [ | ||
{ | ||
"name": "base", | ||
"hidden": true, | ||
"generator": "Ninja", | ||
"binaryDir": "${sourceDir}/out/${presetName}" | ||
}, | ||
{ | ||
"name": "x86", | ||
"inherits": "base", | ||
"description": "x86 Ninja Config", | ||
"architecture": { | ||
"strategy": "external", | ||
"value": "x86" | ||
} | ||
}, | ||
{ | ||
"name": "x64", | ||
"inherits": "base", | ||
"description": "x64 Ninja Config", | ||
"architecture": { | ||
"strategy": "external", | ||
"value": "x64" | ||
} | ||
}, | ||
{ | ||
"name": "ARM", | ||
"inherits": "base", | ||
"description": "ARM Ninja Config", | ||
"architecture": { | ||
"strategy": "external", | ||
"value": "ARM" | ||
}, | ||
"cacheVariables": { | ||
"TESTS_BUILD_ONLY": true | ||
} | ||
}, | ||
{ | ||
"name": "ARM64", | ||
"inherits": "base", | ||
"description": "ARM64 Ninja Config", | ||
"architecture": { | ||
"strategy": "external", | ||
"value": "ARM64" | ||
}, | ||
"cacheVariables": { | ||
"TESTS_BUILD_ONLY": true | ||
} | ||
} | ||
], | ||
"buildPresets": [ | ||
{ | ||
"name": "x86", | ||
"configurePreset": "x86", | ||
"description": "Build x86 STL" | ||
}, | ||
{ | ||
"name": "x64", | ||
"configurePreset": "x64", | ||
"description": "Build x64 STL" | ||
}, | ||
{ | ||
"name": "ARM", | ||
"configurePreset": "ARM", | ||
"description": "Build ARM STL" | ||
}, | ||
{ | ||
"name": "ARM64", | ||
"configurePreset": "ARM64", | ||
"description": "Build ARM64 STL" | ||
} | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters