Skip to content

Commit

Permalink
Update presets
Browse files Browse the repository at this point in the history
  • Loading branch information
qubka committed Sep 22, 2024
1 parent 00ac11d commit d506479
Showing 1 changed file with 16 additions and 45 deletions.
61 changes: 16 additions & 45 deletions CMakePresets.json
Original file line number Diff line number Diff line change
@@ -1,73 +1,44 @@
{
"version": 4,
"configurePresets":
[
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 14,
"patch": 0
},
"configurePresets": [
{
"name": "default",
"displayName": "Default Config",
"description": "Build using Ninja generator",
"description": "Default build using Ninja generator",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}",
"binaryDir": "${sourceDir}/build/${hostSystemName}/${presetName}",
"hidden": true
},
{
"name": "Debug",
"displayName": "Debug - Ninja",
"displayName": "Debug",
"inherits": "default",
"cacheVariables":
{
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "Release",
"displayName": "Release - Ninja",
"displayName": "Release",
"inherits": "default",
"cacheVariables":
{
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "Windows/Debug",
"description": "Debug configuration for building with Visual Studio",
"displayName": "Debug - Visual Studio 2022",
"generator": "Visual Studio 17 2022",
"inherits": "default",
"cacheVariables":
{
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "Windows/Release",
"description": "Release configuration for building with Visual Studio",
"displayName": "Release - Visual Studio 2022",
"generator": "Visual Studio 17 2022",
"inherits": "default",
"cacheVariables":
{
"CMAKE_BUILD_TYPE": "Release"
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
}
],
"buildPresets":
[
"buildPresets": [
{
"name": "Debug",
"configurePreset": "Debug"
},
{
"name": "Release",
"configurePreset": "Release"
},
{
"name": "Windows/Debug",
"configurePreset": "Windows/Debug"
},
{
"name": "Windows/Release",
"configurePreset": "Windows/Release"
}
]
}
}

0 comments on commit d506479

Please sign in to comment.