2005-05-28 00:45:31 +02:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
|
2005-06-27 15:54:02 +02:00
|
|
|
:: Set env vars
|
|
|
|
@call setenvvar.bat
|
|
|
|
|
2007-02-26 16:18:41 +01:00
|
|
|
@call set_build_target.bat %* icu
|
2005-06-27 15:54:02 +02:00
|
|
|
|
|
|
|
::==========
|
|
|
|
:: MAIN
|
|
|
|
|
2007-09-17 10:14:06 +02:00
|
|
|
@echo Building ICU %FB_OBJ_DIR% for %FB_TARGET_PLATFORM%
|
2005-06-27 15:54:02 +02:00
|
|
|
|
2010-03-09 15:59:09 +01:00
|
|
|
if %MSVC_VERSION% GEQ 8 (
|
|
|
|
@call compile.bat %FB_ROOT_PATH%\extern\icu\source\allinone\allinone_%MSVC_VERSION% make_icu_%FB_TARGET_PLATFORM%.log
|
2006-09-12 07:55:56 +02:00
|
|
|
) else (
|
2007-09-17 10:14:06 +02:00
|
|
|
@call compile.bat %FB_ROOT_PATH%\extern\icu\source\allinone\allinone make_icu_%FB_TARGET_PLATFORM%.log
|
2005-05-28 00:45:31 +02:00
|
|
|
)
|
2005-06-27 15:54:02 +02:00
|
|
|
|
2010-03-09 15:59:09 +01:00
|
|
|
|
2007-02-26 16:18:41 +01:00
|
|
|
if errorlevel 1 call :ERROR build failed - see make_icu_%FB_TARGET_PLATFORM%.log for details
|
2005-06-27 15:54:02 +02:00
|
|
|
@goto :EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
:ERROR
|
|
|
|
::====
|
|
|
|
@echo.
|
|
|
|
@echo An error occurred while running make_icu.bat -
|
|
|
|
@echo %*
|
|
|
|
@echo.
|
|
|
|
set ERRLEV=1
|
|
|
|
cancel_script > nul 2>&1
|
|
|
|
::End of ERROR
|
|
|
|
::------------
|
|
|
|
@goto :EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|