2016-07-11 14:30:51 +00:00
|
|
|
@echo off
|
|
|
|
setlocal enabledelayedexpansion
|
|
|
|
|
|
|
|
if not exist "@ace" mkdir "@ace"
|
|
|
|
if not exist "@ace\addons" mkdir "@ace\addons"
|
|
|
|
if not exist "@ace\optionals" mkdir "@ace\optionals"
|
|
|
|
|
|
|
|
if "%PROCESSOR_ARCHITECTURE%"=="AMD64" (set armake=tools\armake_w64.exe) else (set armake=tools\armake_w32.exe)
|
|
|
|
|
|
|
|
for /d %%f in (addons\*) do (
|
|
|
|
set folder=%%f
|
|
|
|
set name=!folder:addons\=!
|
|
|
|
echo PBO @ace\addons\ace_!name!.pbo
|
2018-02-06 13:52:25 +00:00
|
|
|
!armake! build -i include -w unquoted-string -w redefinition-wo-undef -w excessive-concatenation -f !folder! @ace\addons\ace_!name!.pbo
|
2016-07-11 14:30:51 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
for /d %%f in (optionals\*) do (
|
|
|
|
set folder=%%f
|
|
|
|
set name=!folder:optionals\=!
|
|
|
|
echo PBO @ace\optionals\ace_!name!.pbo
|
2018-02-06 13:52:25 +00:00
|
|
|
!armake! build -i include -w unquoted-string -w redefinition-wo-undef -w excessive-concatenation -f !folder! @ace\optionals\ace_!name!.pbo
|
2016-07-11 14:30:51 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
pause
|