echo Setting environment for use with Microsoft Visual Studio 9.0 2008 and Windows Embedded Compact 7 echo. rem ------------------------------------------------------------ set BOOST_DIR=C:\boost\boost_1_63_0_ce set PLATFORM=Vincell CE7 set TARGETCPU=ARMv4I set TARGETPROC=ARM set OSVERSION=WCE700 set STLPORT_DIR=C:\STLport-5.2.1 set STLPORT_INC=%STLPORT_DIR%\stlport set STLPORT_LIB=%STLPORT_DIR%\lib\evc9-arm;%STLPORT_DIR%\bin\evc9-arm rem ------------------------------------------------------------ rem if not %1==%&TARGETCPU% goto error echo Setting Boost directory to %BOOST_DIR% echo Setting OS platform to %PLATFORM% echo Setting target CPU to %TARGETCPU% echo Setting target processor to %TARGETPROC% echo Setting OS version to %OSVERSION% echo Setting STLPORT_INC to %STLPORT_INC% echo Setting STLPORT_LIB to %STLPORT_LIB% rem setting visual studio 9.0 2008 variable path set VSROOT=C:\Program Files (x86)\Microsoft Visual Studio 9.0 set SDKROOT=C:\Program Files (x86)\Windows CE Tools set PLATFORMROOT=%SDKROOT%\SDKs\Vincell CE7 SDK set FrameworkDir=C:\Windows\Microsoft.NET\Framework set FrameworkVersion=v2.0.50727 set Framework35Version=v3.5 set PATH=%VSROOT%\VC\ce\bin\x86_arm;%VSROOT%\VC\bin;%VSROOT%\Common7\IDE;%VSROOT%\Common7\Tools;%VSROOT%;%FrameworkDir%\%Framework35Version%;%FrameworkDir%\%FrameworkVersion%;%VSROOT%\vcpackages;%PATH% set INCLUDE=%BOOST_DIR%;%STLPORT_INC%;%PLATFORMROOT%\Include;%PLATFORMROOT%\Include\Armv4i;%VSROOT%\VC\ce\include;%VSROOT%\VC\ce\atlmfc\include;%INCLUDE% set LIB=%STLPORT_LIB%;%PLATFORMROOT%\Lib\ARMv4I;%VSROOT%\VC\ce\atlmfc\lib\armv4i;%VSROOT%\VC\ce\lib\armv4i;%LIB% set LIBPATH=%FrameworkDir%\%Framework35Version%;%FrameworkDir%\%FrameworkVersion%;%VSROOT%\VS\ce\atlmfc\lib;%VSROOT%\VC\ce\lib;%LIBPATH% echo PATH at %PATH% echo. echo INCLUDE is %INCLUDE% echo. echo LIB is %LIB% echo. echo LIBPATH is %LIBPATH% echo. goto exit rem :error rem echo invalid target CPU rem goto exit :exit