20 lines
428 B
Batchfile
20 lines
428 B
Batchfile
@ECHO OFF
|
|
SETLOCAL
|
|
SET EL=0
|
|
|
|
REM CALL "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
|
|
REM IF ERRORLEVEL 1 SET EL=1
|
|
|
|
FOR /D %%K IN (crypto_kem\* crypto_sign\*) DO (
|
|
FOR /D %%L IN (%%K\*) DO (
|
|
cd %%L
|
|
nmake /f Makefile.Microsoft_nmake clean
|
|
IF ERRORLEVEL 1 SET EL=2
|
|
nmake /f Makefile.Microsoft_nmake
|
|
IF ERRORLEVEL 1 SET EL=3
|
|
cd ..\..\..
|
|
)
|
|
)
|
|
|
|
EXIT /b %EL%
|