summaryrefslogtreecommitdiff
path: root/translate/mcode/winbuild.bat
blob: 8c2826852159ec23c6fef301c8d12941a1cc7974 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
call windows\compile
if errorlevel 1 goto end

call windows\complib
if errorlevel 1 goto end

gnatmake windows/ghdlversion -o windows/ghdlversion.exe
windows\ghdlversion < ../../version.ads > windows/version.nsi

"c:\Program Files\NSIS\makensis" windows\ghdl.nsi
if errorlevel 1 goto end

exit /b 0

:end
echo "Error during compilation"
exit /b 1