2018-09-14 14:01:45 +02:00
|
|
|
@echo off
|
|
|
|
|
setlocal ENABLEDELAYEDEXPANSION
|
|
|
|
|
|
2018-10-03 11:07:09 +02:00
|
|
|
call "vcvarsall.bat" x86
|
2018-09-14 14:01:45 +02:00
|
|
|
|
|
|
|
|
cl src\ebsynth.cpp src\ebsynth_cpu.cpp src\ebsynth_nocuda.cpp /DNDEBUG /O2 /openmp /EHsc /nologo /I"include" /Fe"bin\ebsynth.exe" || goto error
|
|
|
|
|
cl src\ebsynth.cpp src\ebsynth_cpu.cpp src\ebsynth_nocuda.cpp /DNDEBUG /O2 /openmp /EHsc /nologo /I"include" /Fe"bin\ebsynth.dll" /DEBSYNTH_API="__declspec(dllexport)" /link /IMPLIB:"lib\ebsynth.lib" || goto error
|
|
|
|
|
del ebsynth.obj;ebsynth_cpu.obj;ebsynth_nocuda.obj 2> NUL
|
|
|
|
|
goto :EOF
|
|
|
|
|
|
|
|
|
|
:error
|
|
|
|
|
echo FAILED
|
|
|
|
|
@%COMSPEC% /C exit 1 >nul
|