Skip to content

Commit

Permalink
Legit debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlabelle committed Nov 23, 2024
1 parent d3d8a40 commit f52f1c0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CMAKE_C_COMPILER": "clang-cl"
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_C_COMPILER": "clang",
"CMAKE_C_FLAGS_DEBUG": "-O0 -gdwarf -DNDEBUG",
"CMAKE_Swift_FLAGS_DEBUG": "-DDEBUG -Onone -Xfrontend -g -Xfrontend -debug-info-format=dwarf -use-ld=lld -Xlinker -debug:dwarf"
}
}
],
Expand Down

0 comments on commit f52f1c0

Please sign in to comment.