1
0
forked from 0ad/0ad

Retrieve Windows binaries for the build, fixes #1814.

This commit is contained in:
Nicolas Auvray 2024-08-20 18:54:00 +02:00
parent 195c858f33
commit 17ae3b224d
3 changed files with 30 additions and 3 deletions

View File

@ -2,5 +2,5 @@
rem ** Create Visual Studio Workspaces on Windows ** rem ** Create Visual Studio Workspaces on Windows **
cd ..\premake cd ..\premake
if not exist ..\workspaces\vs2017\SKIP_PREMAKE_HERE premake5\bin\release\premake5 --outpath="../workspaces/vs2017" --use-shared-glooxwrapper %* vs2017 if not exist ..\workspaces\vs2017\SKIP_PREMAKE_HERE premake5\bin\release\premake5 --outpath="../workspaces/vs2017" --build-shared-glooxwrapper %* vs2017
cd ..\workspaces cd ..\workspaces

View File

@ -1,9 +1,12 @@
This directory contains libraries that are used by the game: This directory holds libraries that are used by the game.
Libraries are downloaded by running the correct script for your platform.
osx/ contains a script for download and building required libraries on OS X. osx/ contains a script for download and building required libraries on OS X.
source/ contains bundled source, when the game requires a specific library source/ contains bundled source, when the game requires a specific library
version that may not be available in package managers. version that may not be available in package managers.
win32/ contains headers and precompiled static libs for Windows builds.
get-windows-libs.bat downloads a checkout of headers and precompiled
libraries that we bundle for Windows builds.
osx/build-osx-libs.sh osx/build-osx-libs.sh
MIT MIT

View File

@ -0,0 +1,24 @@
rem **Download sources and binaries of libraries**
rem **SVN revision to checkout for source-libs and windows-libs**
rem **Update this line when you commit an update to source-libs or windows-libs**
set "svnrev=28083"
if exist source\.svn (
cd source && svn cleanup && svn up -r %svnrev% && cd ..
) else (
svn co -r %svnrev% https://svn.wildfiregames.com/public/source-libs/trunk source
)
if exist win32\.svn (
cd win32 && svn cleanup && svn up -r %svnrev% && cd ..
) else (
svn co -r %svnrev% https://svn.wildfiregames.com/public/windows-libs/trunk win32
)
rem **Copy binaries to binaries/system/**
copy source\fcollada\bin\* ..\binaries\system\
copy source\nvtt\bin\* ..\binaries\system\
copy source\spidermonkey\bin\* ..\binaries\system\
for /d %%l in (win32\*) do (if exist %%l\bin copy /y %%l\bin\* ..\binaries\system\)