Windows build now groups binaries into /mk/windows/bin folder

This commit is contained in:
mathusummut
2018-05-07 23:48:53 +02:00
parent 9d3678cee9
commit c26b3c35e3
5 changed files with 54 additions and 0 deletions

1
.gitignore vendored
View File

@@ -93,6 +93,7 @@ $RECYCLE.BIN/
unsuccessfulbuild
/mk/windows/dependencies/openssl
/mk/windows/dependencies/src
/mk/windows/bin
/data
#
/mk/linux/zetaglest

View File

@@ -162,5 +162,9 @@ Echo Building ZetaGlest...
cd .\%FOLDER_NAME%\
msbuild.exe /p:Configuration=%MSBUILD_CONFIG%;Platform=%PLATFORM%;PlatformToolset=%TOOLSET% ZetaGlest.sln
cd ..\
ECHO.
ECHO Copying binaries...
ECHO.
call .\group-binaries.bat
ECHO ... Done.
pause

View File

@@ -39,6 +39,12 @@ IF EXIST .\vs2017-64 (
cd ..\
)
IF EXIST .\bin (
cd .\bin
CALL :DELETE
cd ..\
)
ROBOCOPY . . /S /MOVE
ROBOCOPY . . /S /MOVE
ROBOCOPY . . /S /MOVE

View File

@@ -33,6 +33,12 @@ IF EXIST .\vs2017-64 (
cd ..\
)
IF EXIST .\bin (
cd .\bin
CALL :DELETE
cd ..\
)
ROBOCOPY . . /S /MOVE
ROBOCOPY . . /S /MOVE
ROBOCOPY . . /S /MOVE

View File

@@ -0,0 +1,37 @@
@echo off
md bin
md bin\vs2015
md bin\vs2017
copy /y 7z.dll bin\vs2015\7z.dll
copy /y 7z.dll bin\vs2017\7z.dll
copy /y 7z.exe bin\vs2015\7z.exe
copy /y 7z.exe bin\vs2017\7z.exe
copy /y glest.ini bin\vs2015\glest.ini
copy /y glest.ini bin\vs2017\glest.ini
copy /y ..\shared\glestkeys.ini bin\vs2015\glestkeys.ini
copy /y ..\shared\glestkeys.ini bin\vs2017\glestkeys.ini
copy /y ..\shared\servers.ini bin\vs2015\servers.ini
copy /y ..\shared\servers.ini bin\vs2017\servers.ini
copy /y vs2015-32\g3d_viewerWin32\Release\g3dviewer.exe bin\vs2015\g3dviewer-32.exe
copy /y vs2017-32\g3d_viewerWin32\Release\g3dviewer.exe bin\vs2017\g3dviewer-32.exe
copy /y vs2015-32\map_editorWin32\Release\map_editor.exe bin\vs2015\map_editor-32.exe
copy /y vs2017-32\map_editorWin32\Release\map_editor.exe bin\vs2017\map_editor-32.exe
copy /y vs2015-32\zetaglest\zetaglest.exe bin\vs2015\zetaglest-32.exe
copy /y vs2017-32\zetaglest\zetaglest.exe bin\vs2017\zetaglest-32.exe
copy /y vs2015-64\g3dviewerx64\Release\g3dviewer.exe bin\vs2015\g3dviewer-64.exe
copy /y vs2017-64\g3dviewerx64\Release\g3dviewer.exe bin\vs2017\g3dviewer-64.exe
copy /y vs2015-64\map_editorx64\Release\map_editor.exe bin\vs2015\map_editor-64.exe
copy /y vs2017-64\map_editorx64\Release\map_editor.exe bin\vs2017\map_editor-64.exe
copy /y vs2015-64\zetaglest\zetaglest.exe bin\vs2015\zetaglest-64.exe
copy /y vs2017-64\zetaglest\zetaglest.exe bin\vs2017\zetaglest-64.exe