mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Change dir to batch-script location as first action. This allows to run the script from outside the directory its stored.
29 lines
862 B
Batchfile
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\
|
|
)
|
|
)
|