mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Extensive runtime refactor to reduce generated executable sizes
This commit is contained in:
parent
4e750a7e1a
commit
ddd9b1b218
74 changed files with 2514 additions and 717 deletions
|
@ -1,4 +1,3 @@
|
|||
|
||||
@ECHO --------------------------- Beef Test_Build.Bat Version 1 ---------------------------
|
||||
|
||||
@SET P4_CHANGELIST=%1
|
||||
|
@ -33,6 +32,20 @@ IDE\Tests\SysMSVCRT\build\Debug_Win64\SysMSVCRT\SysMSVCRT.exe 1000 234
|
|||
IDE\dist\BeefBuild_d -proddir=BeefLibs\corlib -test
|
||||
@IF %ERRORLEVEL% NEQ 0 GOTO HADERROR
|
||||
|
||||
@ECHO Building Tiny
|
||||
bin\RunWithStats IDE\dist\BeefBuild -proddir=IDE\Tests\Tiny -clean -config=Release
|
||||
set size=0
|
||||
FOR /F "usebackq" %%A IN ('IDE\Tests\Tiny\build\Release_Win64\Tiny\Tiny.exe') DO set size=%%~zA
|
||||
echo Tiny executable size: %size% (expected 13824, max 16000)
|
||||
if %size% LSS 10000 (
|
||||
echo TINY executable not found?
|
||||
goto :HADERROR
|
||||
)
|
||||
if %size% GTR 16000 (
|
||||
echo TINY executable is too large!
|
||||
goto :HADERROR
|
||||
)
|
||||
|
||||
@ECHO Building BeefIDE_d with BeefBuild_d
|
||||
bin\RunAndWait IDE\dist\BeefPerf.exe -cmd="Nop()"
|
||||
@IF %ERRORLEVEL% NEQ 0 GOTO FAILPERF_START
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue