mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 23:58:50 +00:00
Add ODIN_IGNORE_MSVC_CHECK check to build.bat
This commit is contained in:
@@ -13,8 +13,10 @@ where /Q cl.exe || (
|
|||||||
)
|
)
|
||||||
|
|
||||||
if "%VSCMD_ARG_TGT_ARCH%" neq "x64" (
|
if "%VSCMD_ARG_TGT_ARCH%" neq "x64" (
|
||||||
|
if "%ODIN_IGNORE_MSVC_CHECK%" == "" (
|
||||||
echo ERROR: please run this from MSVC x64 native tools command prompt, 32-bit target is not supported!
|
echo ERROR: please run this from MSVC x64 native tools command prompt, 32-bit target is not supported!
|
||||||
exit /b 1
|
exit /b 1
|
||||||
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
for /f "usebackq tokens=1,2 delims=,=- " %%i in (`wmic os get LocalDateTime /value`) do @if %%i==LocalDateTime (
|
for /f "usebackq tokens=1,2 delims=,=- " %%i in (`wmic os get LocalDateTime /value`) do @if %%i==LocalDateTime (
|
||||||
|
|||||||
@@ -7,5 +7,7 @@ rem call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxil
|
|||||||
rem call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x64 1> NUL
|
rem call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x64 1> NUL
|
||||||
set _NO_DEBUG_HEAP=1
|
set _NO_DEBUG_HEAP=1
|
||||||
|
|
||||||
|
set ODIN_IGNORE_MSVC_CHECK=1
|
||||||
|
|
||||||
rem set path=w:\Odin\misc;%path%
|
rem set path=w:\Odin\misc;%path%
|
||||||
cls
|
cls
|
||||||
|
|||||||
Reference in New Issue
Block a user