1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

bootstrap: single make.bat, default msvc option for forcing gcc

This commit is contained in:
Emily Hudson
2019-08-29 22:13:53 +01:00
committed by Alexander Medvednikov
parent b17bf5843c
commit 7fc899dfd6
4 changed files with 84 additions and 73 deletions

View File

@ -228,7 +228,7 @@ pub fn (v mut V) cc_msvc() {
// -w: no warnings
// 2 unicode defines
// /Fo sets the object file name - needed so we can clean up after ourselves properly
mut a := ['-w', '/volatile:ms', '/D_UNICODE', '/DUNICODE', '/Fo$out_name_obj']
mut a := ['-w', '/we4013', '/volatile:ms', '/D_UNICODE', '/DUNICODE', '/Fo$out_name_obj']
if v.pref.is_prod {
a << '/O2'