0ad/libraries/get-windows-libs.bat
Cayleb-Ordo 90d276b0dc Make windows batch-scripts independent of calling directory
Change dir to batch-script location as first action. This
allows to run the script from outside the directory its stored.
2025-01-05 19:38:37 +01:00

29 lines
862 B
Batchfile

rem **Download sources and binaries of libraries**
cd /D "%~dp0"
rem **SVN revision to checkout for windows-libs**
rem **Update this line when you commit an update to windows-libs**
set "svnrev=28243"
svn co https://svn.wildfiregames.com/public/windows-libs/trunk@%svnrev% win32
rem **Copy dependencies' binaries to binaries/system/**
set DIR_LIST=boost enet fcollada fmt freetype gloox iconv icu libcurl libpng libsodium libxml2 microsoft miniupnpc nvtt openal sdl2 spidermonkey vorbis wxwidgets zlib
for %%d in (%DIR_LIST%) do (
if exist win32\%%d\bin\ (
copy /y win32\%%d\bin\* ..\binaries\system\
)
)
rem **Copy build tools to build/bin
mkdir ..\build\bin\ 2>nul
set TOOLCHAIN_DIR_LIST=premake-core cxxtest-4.4
for %%d in (%TOOLCHAIN_DIR_LIST%) do (
if exist win32\%%d\bin\ (
copy /y win32\%%d\bin\* ..\build\bin\
)
)