Skip to content

Instantly share code, notes, and snippets.

@tsukumijima
Last active July 11, 2022 20:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsukumijima/2e18986f566d306af3e5b2792cc38296 to your computer and use it in GitHub Desktop.
Save tsukumijima/2e18986f566d306af3e5b2792cc38296 to your computer and use it in GitHub Desktop.
EDCB を全自動でビルドするバッチ(自分用・たぶん他の環境では動きません)
@echo off
rem // 開発者コマンドプロンプトの起動
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\VsDevCmd.bat"
cd /d %~dp0
rem // EDCB 本体のビルド
cd %~dp0\EDCB\Document
MSBuild EDCB_ALL.VS2015.sln /t:Build /p:Configuration=Release;Platform=x64;PlatformToolset=v142
MSBuild EDCB_ALL.VS2015.sln /t:Build /p:Configuration=Release;Platform=Win32;PlatformToolset=v142
rem // IBonCast のビルド
cd %~dp0\EDCB\ini\Tools\IBonCast
MSBuild IBonCast /t:Build /p:Configuration=Release;Platform=x64;PlatformToolset=v142
MSBuild IBonCast /t:Build /p:Configuration=Release;Platform=x86;PlatformToolset=v142
rem // tsidmove のビルド
cd .%~dp0\EDCB\ini\Tools\tsidmove
MSBuild tsidmove.sln /t:Build /p:Configuration=Release;Platform=x64;PlatformToolset=v142
MSBuild tsidmove.sln /t:Build /p:Configuration=Release;Platform=x86;PlatformToolset=v142
rem // asyncbuf・relayread のビルド
cd %~dp0\EDCB\ini\Tools
MSBuild misc.sln /t:Build /p:Configuration=Release;Platform=x64;PlatformToolset=v142
MSBuild misc.sln /t:Build /p:Configuration=Release;Platform=x86;PlatformToolset=v142
rem // アーカイブを作成
cd /d %~dp0\EDCB
bash package.sh -a x64 -t release -o ../EDCB_Package/
bash package.sh -a x86 -t release -o ../EDCB_Package/
echo.
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment