Skip to content

Commit

Permalink
Fix existing presets (remove -O2 stuff, typos)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexreinking committed Apr 7, 2021
1 parent bd16b37 commit 71b895e
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@
"generator": "Ninja",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_CXX_FLAGS_RELEASE": "-O2",
"CMAKE_CXX_FLAGS_RELWITHDEBINFO": "-O2 -g",
"CMAKE_CXX_FLAGS_MINSIZEREL": "-Os"
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
Expand All @@ -41,13 +38,11 @@
},
{
"name": "msvc-release",
"inherits": "msvc-debug",
"displayName": "MSVC (Release)",
"description": "Debug build using Ninja generator and MSVC with vcpkg dependencies.",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build",
"description": "Release build using Ninja generator and MSVC with vcpkg dependencies.",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
"CMAKE_BUILD_TYPE": "Release"
}
},
{
Expand Down

0 comments on commit 71b895e

Please sign in to comment.