Skip to content

Instantly share code, notes, and snippets.

@ericoporto
Last active December 6, 2020 22:12
Show Gist options
  • Select an option

  • Save ericoporto/e260e4b46df3d36fe62264bda4ac17c7 to your computer and use it in GitHub Desktop.

Select an option

Save ericoporto/e260e4b46df3d36fe62264bda4ac17c7 to your computer and use it in GitHub Desktop.
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