Add support for clang-cl (#9977)
This commit is contained in:
parent
2d404a5a24
commit
642ce799ec
3 changed files with 15 additions and 2 deletions
|
|
@ -226,6 +226,11 @@ clang.options.speed = "-O3"
|
|||
clang.options.size = "-Os"
|
||||
|
||||
@if windows:
|
||||
clang_cl.cpp.options.always %= "${clang_cl.options.always} /EHsc"
|
||||
@if not release:
|
||||
clang_cl.options.linker = "/Z7"
|
||||
clang_cl.cpp.options.linker = "/Z7"
|
||||
@end
|
||||
clang.options.debug = "-g -gcodeview"
|
||||
clang.cpp.options.debug = "-g -gcodeview"
|
||||
@if not release:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue