ICU-168 search for build tools moved from .mak to .bat and some confusing messages removed
X-SVN-Rev: 535
This commit is contained in:
parent
27c4f96908
commit
e8fa02126f
@ -13,7 +13,12 @@ set toolversion=Release
|
||||
if not "%2"=="" set toolversion=%2
|
||||
|
||||
nmake /f makedata.mak icup=%1 cfg=%2 %3 %4
|
||||
|
||||
if not errorlevel 9009 goto :othererror
|
||||
echo Build tools are not on path! Please make sure that MSVC++ is setup correctly!
|
||||
goto :error
|
||||
:othererror
|
||||
if errorlevel 0 goto :end
|
||||
echo Nmake has unsuccesfully finished with errorcode %errorlevel%!
|
||||
goto :end
|
||||
|
||||
rem setup mkhelper to read ucmfiles.mk and ucmlocal.mk
|
||||
|
@ -13,17 +13,8 @@ CFG=Debug
|
||||
!MESSAGE No configuration specified. Defaulting to common - Win32 Debug.
|
||||
!ENDIF
|
||||
|
||||
!IF [cl.exe]
|
||||
!MESSAGE Could not find build tools!
|
||||
!ERROR Make sure cl.exe and link.exe are on PATH!
|
||||
!ELSE
|
||||
!MESSAGE found $(PROG)
|
||||
!ENDIF
|
||||
|
||||
|
||||
#Let's see if user has given us a path to ICU
|
||||
#This could be found according to the path to makefile, but for now it is this way
|
||||
!MESSAGE ICUP=$(ICUP)
|
||||
!IF "$(ICUP)"==""
|
||||
!ERROR Can't find path!
|
||||
!ELSE
|
||||
|
Loading…
Reference in New Issue
Block a user