Add support for clang-cl (#9977)

This commit is contained in:
Neelesh Chandola 2018-12-19 14:05:25 +05:30 • committed by Andreas Rumpf
commit 642ce799ec
3 changed files with 15 additions and 2 deletions

View file

@ -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: