-
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathsmall.cmd
More file actions
23 lines (20 loc) · 588 Bytes
/
small.cmd
File metadata and controls
23 lines (20 loc) · 588 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@echo off
echo Build...
del hac*.exe
gprbuild -P hac hac -XHAC_Build_Mode=Small_Unchecked -XHAC_OS=Win64
copy /B hac.exe hac_unchecked.exe
del hac.exe
gprbuild -P hac -XHAC_Build_Mode=Small -XHAC_OS=Win64
del demo\*.exe
gprbuild -P demo/hac_demo -XHAC_Build_Mode=Small -XHAC_OS=Win64
echo.
for %%I in (hac*.exe) do echo %%~zI ... %%I
for %%I in (demo\*.exe) do echo %%~zI ... %%I
echo.
echo Stripping...
strip -s hac*.exe
strip -s demo/*.exe
echo Done.
echo.
for %%I in (hac*.exe) do echo %%~zI ... %%I
for %%I in (demo\*.exe) do echo %%~zI ... %%I