Skip to content

Commit 643c42a

Browse files
committed
Added linux release preset
1 parent 762f447 commit 643c42a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

CMakePresets.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
"hidden": true,
2626
"inherits": "base",
2727
"description": "Preset for ARM macOS",
28-
"generator": "Ninja",
2928
"cacheVariables": {
3029
"CMAKE_SYSTEM_NAME": "Darwin",
3130
"VCPKG_TARGET_TRIPLET": "arm64-osx"
@@ -35,7 +34,6 @@
3534
"name": "linux-x64",
3635
"inherits": "base",
3736
"description": "Preset for x64 Linux",
38-
"generator": "Ninja",
3937
"cacheVariables": {
4038
"CMAKE_SYSTEM_NAME": "Linux",
4139
"VCPKG_TARGET_TRIPLET": "x64-linux",
@@ -45,6 +43,14 @@
4543
}
4644
}
4745
},
46+
{
47+
"name": "linux-x64-release",
48+
"inherits": "linux-x64",
49+
"description": "Release preset for x64 Linux",
50+
"cacheVariables": {
51+
"CMAKE_BUILD_TYPE": "Release"
52+
}
53+
},
4854
{
4955
"name": "macos-arm-release",
5056
"inherits": "macos-arm-base",

0 commit comments

Comments
 (0)