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

compiler: move msvc compiler to -cc flag instead of -os (#2338)

* move msvc to -cc flag instead of -os

* undo unrelated change

* do first build without msvc

* remvove flags temp

* fix comment
This commit is contained in:
joe-conigliaro
2019-10-14 16:41:46 +11:00
committed by GitHub
parent 093d8a2b00
commit 9a2b8a0814
12 changed files with 37 additions and 36 deletions

View File

@@ -69,8 +69,8 @@ if %ERRORLEVEL% NEQ 0 (
)
echo rebuild from source (twice, in case of C definitions changes)
v2.exe -os msvc -o v3.exe v.v
v3.exe -os msvc -o v.exe -prod v.v
v2.exe -o v3.exe v.v
v3.exe -cc msvc -o v.exe -prod v.v
if %ERRORLEVEL% NEQ 0 (
echo V failed to build itself
goto :compileerror