Skip to content

Commit 0ee6ed1

Browse files
committed
CMakePresets: Make Ninja default generator and enable VS2022 Presets
1 parent 916711e commit 0ee6ed1

3 files changed

Lines changed: 157 additions & 20 deletions

File tree

CMakePresets.json

Lines changed: 156 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

builds/cmake/CMakePresets.json.template

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
{
2525
"name": "windows-x86",
2626
"displayName": "Windows (x86)",
27-
"hidden": true,
2827
"cacheVariables": {
2928
"VCPKG_TARGET_TRIPLET": "x86-windows-static"
3029
},
@@ -33,7 +32,6 @@
3332
{
3433
"name": "windows-x86-vs2022",
3534
"displayName": "Windows (x86) using Visual Studio 2022",
36-
"hidden": true,
3735
"generator": "Visual Studio 17 2022",
3836
"architecture": "Win32",
3937
"cacheVariables": {
@@ -44,7 +42,6 @@
4442
{
4543
"name": "windows-x64",
4644
"displayName": "Windows (x64)",
47-
"hidden": true,
4845
"architecture": "x64",
4946
"cacheVariables": {
5047
"VCPKG_TARGET_TRIPLET": "x64-windows-static"
@@ -54,7 +51,6 @@
5451
{
5552
"name": "windows-x64-vs2022",
5653
"displayName": "Windows (x64) using Visual Studio 2022",
57-
"hidden": true,
5854
"generator": "Visual Studio 17 2022",
5955
"architecture": "x64",
6056
"cacheVariables": {

builds/cmake/CMakePresetsBase.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"name": "base",
66
"displayName": "base preset",
77
"hidden": true,
8+
"generator": "Ninja",
89
"binaryDir": "${sourceDir}/build/${presetName}",
910
"cacheVariables": {
1011
"BUILD_SHARED_LIBS": "OFF",

0 commit comments

Comments
 (0)