ACE3/make.bat

25 lines
786 B
Batchfile
Raw Normal View History

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
!armake! build -i include -w unquoted-string -w redefinition-wo-undef -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
!armake! build -i include -w unquoted-string -w redefinition-wo-undef -f !folder! @ace\optionals\ace_!name!.pbo
2016-07-11 14:30:51 +00:00
)
pause