Skip to content

Commit

Permalink
Merge pull request #2 from cosmin/patch-1
Browse files Browse the repository at this point in the history
add macos-release preset
  • Loading branch information
blamacaz authored May 20, 2024
2 parents fd3e09e + 1e26622 commit 6bdfadc
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 6bdfadc

Please sign in to comment.