Skip to content

Commit

Permalink
Generate PDBs with release builds (#474)
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlabelle authored Jan 9, 2025
1 parent e7b79ac commit 052e1df
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Generator/CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_C_COMPILER": "clang-cl"
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CMAKE_C_COMPILER": "clang",
"CMAKE_C_FLAGS_RELWITHDEBINFO": "-O2 -g -DNDEBUG",
"CMAKE_Swift_FLAGS_RELWITHDEBINFO": "-O -DNDEBUG -Xfrontend -g -Xfrontend -debug-info-format=codeview -use-ld=lld -Xlinker -debug"
}
}
],
Expand Down

0 comments on commit 052e1df

Please sign in to comment.