Skip to content

Commit

Permalink
CMakePresets: Make Ninja default generator and enable VS2022 Presets
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghabry committed Apr 29, 2023
1 parent 916711e commit 0ee6ed1
Show file tree
Hide file tree
Showing 3 changed files with 157 additions and 20 deletions.
172 changes: 156 additions & 16 deletions CMakePresets.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions builds/cmake/CMakePresets.json.template
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
{
"name": "windows-x86",
"displayName": "Windows (x86)",
"hidden": true,
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x86-windows-static"
},
Expand All @@ -33,7 +32,6 @@
{
"name": "windows-x86-vs2022",
"displayName": "Windows (x86) using Visual Studio 2022",
"hidden": true,
"generator": "Visual Studio 17 2022",
"architecture": "Win32",
"cacheVariables": {
Expand All @@ -44,7 +42,6 @@
{
"name": "windows-x64",
"displayName": "Windows (x64)",
"hidden": true,
"architecture": "x64",
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x64-windows-static"
Expand All @@ -54,7 +51,6 @@
{
"name": "windows-x64-vs2022",
"displayName": "Windows (x64) using Visual Studio 2022",
"hidden": true,
"generator": "Visual Studio 17 2022",
"architecture": "x64",
"cacheVariables": {
Expand Down
1 change: 1 addition & 0 deletions builds/cmake/CMakePresetsBase.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"name": "base",
"displayName": "base preset",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"BUILD_SHARED_LIBS": "OFF",
Expand Down

0 comments on commit 0ee6ed1

Please sign in to comment.