Last active
December 6, 2020 22:12
-
-
Save ericoporto/e260e4b46df3d36fe62264bda4ac17c7 to your computer and use it in GitHub Desktop.
curl https://gist.githubusercontent.com/ericoporto/e260e4b46df3d36fe62264bda4ac17c7/raw/4260e15b9e4f5e58db57c5a98cce38aed31acd97/build_ags3_sdl2.bat --output build_ags3_sdl2.bat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo | |
| set BUILD_CONFIG=Release | |
| set AGS_SDL_SOUND_LIB=C:\Lib\SDL_sound\build\Release | |
| set AGS_SDL_SOUND_INCLUDE=C:\Lib\SDL_sound\src | |
| set AGS_SDL_LIB=C:\Lib\SDL2\lib\x86 | |
| set AGS_SDL_INCLUDE=C:\Lib\SDL2\include | |
| set AGS_LIBVORBIS_LIB=C:\Lib\Xiph | |
| set AGS_LIBTHEORA_LIB=C:\Lib\Xiph | |
| set AGS_LIBOGG_LIB=C:\Lib\Xiph | |
| set AGS_DIRECTX_LIB=C:\Lib\DirectX | |
| mkdir git | |
| cd git | |
| git clone https://github.com/adventuregamestudio/ags.git | |
| cd ags | |
| git checkout ags3--sdl2 | |
| "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86 && | |
| set "UseEnv=true" && | |
| copy C:\Lib\irrKlang\*.dll Editor\References\ && | |
| cd Solutions && | |
| set "LIB=C:\Program Files (x86)\Windows Kits\8.0\Lib\Win8\um\x86;!LIB!" && | |
| msbuild AGS.Editor.Full.sln /p:PlatformToolset=v140 /p:Configuration=%BUILD_CONFIG% /p:Platform="Mixed Platforms" /maxcpucount /nologo && | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment