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

call windows\complib
if errorlevel 1 goto end

strip build\ghdl.exe

gnatmake windows/ghdlversion -o windows/ghdlversion.exe
windows\ghdlversion < ..\..\src\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