Hi,

At 25 Jul 2005 23:36:41 +0200 Andy Polyakov wrote:
> > Can you double-confirm this? MSDN mentions -D_WIN32_WCE=$(CEVersion)
> > and you suggest -D_WIN32_WCE=$(WCEVERSION). Is one wrong or are both
> > right?
> 
> OK, I can see that WCEVERSION is defined in 3rd party wcecompat.mak,
> but I would feel better if we use variable set by VCVARS*.BAR or
> whatever it's called in embedded C. Meaning that I'd like to rephrase
> the question. Can you figure out variables set by VC, which we can use?

They are OSVERSION, PLATFORM, WCEROOT, SDKROOT, PATH, INCLUDE, LIB, CC,
TARGETCPU and CFG.

Here is a script from WCEARM.BAT.

if "%OSVERSION%"=="" set OSVERSION=WCE300
if "%PLATFORM%"=="" set PLATFORM=ms pocket pc
if "%WCEROOT%"=="" set WCEROOT=C:\Program Files\Microsoft eMbedded Visual Tools
if "%SDKROOT%"=="" set SDKROOT=C:\Program Files\Windows CE Tools

set PATH=%WCEROOT%\COMMON\EVC\bin;%WCEROOT%\EVC\%OSVERSION%\bin;%path%
set 
INCLUDE=%SDKROOT%\%OSVERSION%\%PLATFORM%\include;%SDKROOT%\%OSVERSION%\%PLATFORM%\MFC\include;%SDKROOT%\%OSVERSION%\%PLATFORM%\ATL\include;
set 
LIB=%SDKROOT%\%OSVERSION%\%PLATFORM%\lib\arm;%SDKROOT%\%OSVERSION%\%PLATFORM%\MFC\lib\arm;%SDKROOT%\%OSVERSION%\%PLATFORM%\ATL\lib\arm;

set CC=clarm.exe

set TARGETCPU=ARM
set CFG=none


CEVersion is set by IDE, so you cannot utilize it from commandline.

-- 
Satoshi Nakamura <[EMAIL PROTECTED]>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to