mirror of
https://github.com/glest/glest-source.git
synced 2025-09-01 12:02:36 +02:00
Windows build now groups binaries into /mk/windows/bin folder
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -93,6 +93,7 @@ $RECYCLE.BIN/
|
||||
unsuccessfulbuild
|
||||
/mk/windows/dependencies/openssl
|
||||
/mk/windows/dependencies/src
|
||||
/mk/windows/bin
|
||||
/data
|
||||
#
|
||||
/mk/linux/zetaglest
|
||||
|
@@ -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
|
@@ -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
|
||||
|
@@ -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
|
||||
|
37
mk/windows/group-binaries.bat
Normal file
37
mk/windows/group-binaries.bat
Normal 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
|
Reference in New Issue
Block a user