aboutsummaryrefslogtreecommitdiff
path: root/dist/etc/vc-9.0/vcvarssd.bat
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-03-02 12:14:54 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-03-02 12:14:54 +0200
commit6c63b913179127e09ed7d9da8920493ccceec6ce (patch)
tree95684b51b4ab60e6468a592a53e33c2cf00027ab /dist/etc/vc-9.0/vcvarssd.bat
parent3fd3cfc36784be43f545f2f0973e3dc58f475996 (diff)
Add make support for creating binary distributions
Two new make targets, dist and dist-win, were added that allow one to create a binary distribution from the current build. The dist target creates a UNIX distribution while dist-win -- Windows. The simplified build systems for the runtime library and examples that were kept separately are now part of the project (the dist/ subdirectory).
Diffstat (limited to 'dist/etc/vc-9.0/vcvarssd.bat')
-rwxr-xr-xdist/etc/vc-9.0/vcvarssd.bat39
1 files changed, 39 insertions, 0 deletions
diff --git a/dist/etc/vc-9.0/vcvarssd.bat b/dist/etc/vc-9.0/vcvarssd.bat
new file mode 100755
index 0000000..0481a12
--- /dev/null
+++ b/dist/etc/vc-9.0/vcvarssd.bat
@@ -0,0 +1,39 @@
+@echo off
+REM
+REM This .bat file sets the environment variables for Visual Studio
+REM 2008 Smart Devices toolchain to allow compilation from the command
+REM line or with nmake. Make sure the following four variables are
+REM set to the correct values.
+REM
+
+REM
+REM Make sure VSINSTALLDIR points to the Visual Studio 2008 installation
+REM directory.
+REM
+SET VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio 9.0
+
+REM
+REM Set the toolchain to use. See VSINSTALLDIR\VC\ce\bin for possible
+REM values.
+REM
+SET TOOLCHAIN=x86_arm
+
+REM
+REM C/C++ runtime to use. See VSINSTALLDIR\VC\ce\lib for possible
+REM values.
+REM
+SET RUNTIME=armv4
+
+REM
+REM Platform SDK to use. See VSINSTALLDIR\SmartDevices\SDK for
+REM what's available (normally PocketPC2003 and Smartphone2003).
+REM
+SET SDK=PocketPC2003
+
+title Visual Studio 2008 Smart Devices Environment for %SDK% on %RUNTIME%
+echo Setting environment for Visual Studio 2008 Smart Devices.
+
+SET VCINSTALLDIR=%VSINSTALLDIR%\VC
+SET PATH=%VCINSTALLDIR%\ce\BIN\%TOOLCHAIN%;%VCINSTALLDIR%\BIN;%VSINSTALLDIR%\Common7\IDE;%VSINSTALLDIR%\Common7\Tools;%VSINSTALLDIR%\Common7\Tools\bin;%PATH%
+SET INCLUDE=%VCINSTALLDIR%\CE\ATLMFC\INCLUDE;%VCINSTALLDIR%\CE\INCLUDE;%VSINSTALLDIR%\SmartDevices\SDK\%SDK%\include;%INCLUDE%
+SET LIB=%VCINSTALLDIR%\CE\ATLMFC\LIB\%RUNTIME%;%VCINSTALLDIR%\CE\LIB\%RUNTIME%;%VSINSTALLDIR%\SmartDevices\SDK\%SDK%\lib\%RUNTIME%;%LIB%