Skip to content

Commit

Permalink
add macos-release preset
Browse files Browse the repository at this point in the history
Currently macos is missing the macos-release preset that is present for window and linux. This adds that, and renames macos-default to macos-debug for consistency.
  • Loading branch information
cosmin committed May 13, 2024
1 parent fd3e09e commit 1e26622
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
}
},
{
"name": "macos-default",
"name": "macos-debug",
"displayName": "macOS Debug",
"description": "Target a remote macOS system with Ninja",
"inherits": [ "base" ],
Expand All @@ -75,6 +75,15 @@
"microsoft.com/VisualStudioRemoteSettings/CMake/1.0": { "sourceDir": "$env{HOME}/.vs/$ms{projectDirName}" }
}
},
{
"name": "macos-release",
"displayName": "macOS Release",
"description": "Target a remote macOS system with Ninja",
"inherits": [ "macos-debug" ],
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "windows-debug",
"displayName": "Windows x64 Debug",
Expand Down Expand Up @@ -158,7 +167,13 @@
"name": "macos-debug",
"description": "MacOS debug build",
"inherits": "core-build",
"configurePreset": "macos-default"
"configurePreset": "macos-debug"
},
{
"name": "macos-release",
"description": "MacOS release build",
"inherits": "core-build",
"configurePreset": "macos-release"
}
],
"testPresets": [
Expand All @@ -177,4 +192,4 @@
}
}
]
}
}

0 comments on commit 1e26622

Please sign in to comment.