Fix clang not producing debug info in cpp mode (#9976)
* Fix clang on windows to produce debug info * Fix clang not producing debug info in cpp mode
This commit is contained in:
parent
b53327c92a
commit
303ef57b15
1 changed files with 10 additions and 0 deletions
|
|
@ -220,10 +220,20 @@ llvm_gcc.options.size = "-Os"
|
|||
|
||||
# Configuration for the LLVM CLang compiler:
|
||||
clang.options.debug = "-g"
|
||||
clang.cpp.options.debug = "-g"
|
||||
clang.options.always = "-w"
|
||||
clang.options.speed = "-O3"
|
||||
clang.options.size = "-Os"
|
||||
|
||||
@if windows:
|
||||
clang.options.debug = "-g -gcodeview"
|
||||
clang.cpp.options.debug = "-g -gcodeview"
|
||||
@if not release:
|
||||
clang.options.linker = "-g"
|
||||
clang.cpp.options.linker = "-g"
|
||||
@end
|
||||
@end
|
||||
|
||||
# Configuration for the Visual C/C++ compiler:
|
||||
# VCCEXE is a tool that invokes the Visual Studio Developer Command Prompt
|
||||
# before calling the compiler.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue