mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00

Fixed a bunch of bugs in aggregate const initializers Fixed ZIP bugs Fixed a compilation case where we change protection while reifying a type Added another project kind - Dynamic Library Added [Export] for DLL method exporting Fixed some issues of things being generated as __NOINLINE incorrectly Fixed an issue with module extensions with not-yet-demanded on-demand methods Started adding Installer
124 lines
No EOL
7.2 KiB
Batchfile
124 lines
No EOL
7.2 KiB
Batchfile
PUSHD %~dp0..\
|
|
|
|
@SET MSBUILD_FLAGS=
|
|
@IF "%1" NEQ "clean" goto BUILD
|
|
@SET MSBUILD_FLAGS=/t:Clean,Build
|
|
@ECHO Performing clean build
|
|
:BUILD
|
|
|
|
@ECHO @@@@@@@@@@@@@@ Win64 @@@@@@@@@@@@@@
|
|
|
|
@ECHO ---- Building BeefRT64 (Debug) ----
|
|
CALL bin\msbuild.bat BeefRT\BeefRT.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
@ECHO ---- Building BeefRT64 (Debug Static) ----
|
|
CALL bin\msbuild.bat BeefRT\BeefRT.vcxproj /p:Configuration="Debug Static" /p:Platform=x64 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
@ECHO ---- Building BeefRT64 (Debug Static CStatic) ----
|
|
CALL bin\msbuild.bat BeefRT\BeefRT.vcxproj /p:Configuration="Debug Static CStatic" /p:Platform=x64 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
@ECHO ---- Building BeefRT64 (Release) ----
|
|
CALL bin\msbuild.bat BeefRT\BeefRT.vcxproj /p:Configuration=Release /p:Platform=x64 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
@ECHO ---- Building BeefRT64 (Release Static) ----
|
|
CALL bin\msbuild.bat BeefRT\BeefRT.vcxproj /p:Configuration="Release Static" /p:Platform=x64 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
@ECHO ---- Building BeefRT6 (Release Static CStatic) ----
|
|
CALL bin\msbuild.bat BeefRT\BeefRT.vcxproj /p:Configuration="Release Static CStatic" /p:Platform=x64 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
|
|
@ECHO ---- Building BeefDbg64 (Debug) ----
|
|
CALL bin\msbuild.bat BeefRT\BeefDbg\BeefDbg.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
@ECHO ---- Building BeefDbg64 (Debug Static) ----
|
|
CALL bin\msbuild.bat BeefRT\BeefDbg\BeefDbg.vcxproj /p:Configuration="Debug Static" /p:Platform=x64 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
@ECHO ---- Building BeefDbg64 (Debug Static CStatic) ----
|
|
CALL bin\msbuild.bat BeefRT\BeefDbg\BeefDbg.vcxproj /p:Configuration="Debug Static CStatic" /p:Platform=x64 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
@ECHO ---- Building BeefDbg64 (Release) ----
|
|
CALL bin\msbuild.bat BeefRT\BeefDbg\BeefDbg.vcxproj /p:Configuration=Release /p:Platform=x64 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
@ECHO ---- Building BeefDbg64 (Release Static) ----
|
|
CALL bin\msbuild.bat BeefRT\BeefDbg\BeefDbg.vcxproj /p:Configuration="Release Static" /p:Platform=x64 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
@ECHO ---- Building BeefDbg64 (Release Static CStatic) ----
|
|
CALL bin\msbuild.bat BeefRT\BeefDbg\BeefDbg.vcxproj /p:Configuration="Release Static CStatic" /p:Platform=x64 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
|
|
@ECHO ---- Building MinRT (Debug) ----
|
|
CALL bin\msbuild.bat BeefRT\MinRT\MinRT.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
@ECHO ---- Building MinRT (Debug GUI) ----
|
|
CALL bin\msbuild.bat BeefRT\MinRT\MinRT.vcxproj /p:Configuration="Debug GUI" /p:Platform=x64 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
@ECHO ---- Building MinRT (Release) ----
|
|
CALL bin\msbuild.bat BeefRT\MinRT\MinRT.vcxproj /p:Configuration=Release /p:Platform=x64 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
@ECHO ---- Building MinRT (Release GUI) ----
|
|
CALL bin\msbuild.bat BeefRT\MinRT\MinRT.vcxproj /p:Configuration="Release GUI" /p:Platform=x64 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
|
|
@ECHO @@@@@@@@@@@@@ Win32 @@@@@@@@@@@@@@
|
|
|
|
@ECHO ---- Building BeefRT32 (Debug) ----
|
|
CALL bin\msbuild.bat BeefRT\BeefRT.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
@ECHO ---- Building BeefRT32 (Debug Static) ----
|
|
CALL bin\msbuild.bat BeefRT\BeefRT.vcxproj /p:Configuration="Debug Static" /p:Platform=Win32 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
@ECHO ---- Building BeefRT32 (Debug Static CStatic) ----
|
|
CALL bin\msbuild.bat BeefRT\BeefRT.vcxproj /p:Configuration="Debug Static CStatic" /p:Platform=Win32 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
@ECHO ---- Building BeefRT32 (Release) ----
|
|
CALL bin\msbuild.bat BeefRT\BeefRT.vcxproj /p:Configuration=Release /p:Platform=Win32 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
@ECHO ---- Building BeefRT32 (Release Static) ----
|
|
CALL bin\msbuild.bat BeefRT\BeefRT.vcxproj /p:Configuration="Release Static" /p:Platform=Win32 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
@ECHO ---- Building BeefRT32 (Release Static CStatic) ----
|
|
CALL bin\msbuild.bat BeefRT\BeefRT.vcxproj /p:Configuration="Release Static CStatic" /p:Platform=Win32 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
|
|
@ECHO ---- Building BeefDbg32 (Debug) ----
|
|
CALL bin\msbuild.bat BeefRT\BeefDbg\BeefDbg.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
@ECHO ---- Building BeefDbg32 (Debug Static) ----
|
|
CALL bin\msbuild.bat BeefRT\BeefDbg\BeefDbg.vcxproj /p:Configuration="Debug Static" /p:Platform=Win32 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
@ECHO ---- Building BeefDbg32 (Debug Static CStatic) ----
|
|
CALL bin\msbuild.bat BeefRT\BeefDbg\BeefDbg.vcxproj /p:Configuration="Debug Static CStatic" /p:Platform=Win32 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
@ECHO ---- Building BeefDbg32 (Release) ----
|
|
CALL bin\msbuild.bat BeefRT\BeefDbg\BeefDbg.vcxproj /p:Configuration=Release /p:Platform=Win32 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
@ECHO ---- Building BeefDbg32 (Release Static) ----
|
|
CALL bin\msbuild.bat BeefRT\BeefDbg\BeefDbg.vcxproj /p:Configuration="Release Static" /p:Platform=Win32 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
@ECHO ---- Building BeefDbg32 (Release Static CStatic) ----
|
|
CALL bin\msbuild.bat BeefRT\BeefDbg\BeefDbg.vcxproj /p:Configuration="Release Static CStatic" /p:Platform=Win32 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
|
|
@ECHO ---- Building MinRT (Debug) ----
|
|
CALL bin\msbuild.bat BeefRT\MinRT\MinRT.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
@ECHO ---- Building MinRT (Debug GUI) ----
|
|
CALL bin\msbuild.bat BeefRT\MinRT\MinRT.vcxproj /p:Configuration="Debug GUI" /p:Platform=Win32 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
@ECHO ---- Building MinRT (Release) ----
|
|
CALL bin\msbuild.bat BeefRT\MinRT\MinRT.vcxproj /p:Configuration=Release /p:Platform=Win32 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
@ECHO ---- Building MinRT (Release GUI) ----
|
|
CALL bin\msbuild.bat BeefRT\MinRT\MinRT.vcxproj /p:Configuration="Release GUI" /p:Platform=Win32 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
|
|
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
|
|
|
|
GOTO DONE
|
|
|
|
:FAILED
|
|
@ECHO FAILED BEEFRT!
|
|
POPD
|
|
PAUSE
|
|
EXIT /b %ERRORLEVEL%
|
|
|
|
:DONE
|
|
POPD |