aboutsummaryrefslogtreecommitdiff
path: root/setvcenv.sh
diff options
context:
space:
mode:
authorMike DePaulo <mikedep333@gmail.com>2014-09-01 11:10:55 -0400
committerMike DePaulo <mikedep333@gmail.com>2014-09-01 11:10:55 -0400
commit3ffe138ff93e1eb8775558e32bd6adebc6ce7672 (patch)
treecf90339f5be4444e4fc031dadcc7b0400cfd005c /setvcenv.sh
parent0fc6b05dc947d92381453fbe0ce690196719da86 (diff)
downloadvcxsrv-3ffe138ff93e1eb8775558e32bd6adebc6ce7672.tar.gz
vcxsrv-3ffe138ff93e1eb8775558e32bd6adebc6ce7672.tar.bz2
vcxsrv-3ffe138ff93e1eb8775558e32bd6adebc6ce7672.zip
Initial work to get VcXsrv 1.15.2.0 to compile under the MSVC2013 XP target
Diffstat (limited to 'setvcenv.sh')
-rw-r--r--setvcenv.sh33
1 files changed, 24 insertions, 9 deletions
diff --git a/setvcenv.sh b/setvcenv.sh
index a016d89c5..1922df205 100644
--- a/setvcenv.sh
+++ b/setvcenv.sh
@@ -1,9 +1,24 @@
-export MHMAKECONF=`cygpath -da .`
-
-export VCINSTALLDIR="c:\Program Files\Microsoft Visual Studio 10.0\VC\\"
-export VS100COMNTOOLS="C:\Program Files\Microsoft Visual Studio 10.0\Common7\Tools\\"
-export VSINSTALLDIR="C:\Program Files\Microsoft Visual Studio 10.0\\"
-export WindowsSdkDir="C:\Program Files\Microsoft SDKs\Windows\v7.0A\\"
-export LIB="c:\Program Files\Microsoft Visual Studio 10.0\VC\lib;c:\Program Files\Microsoft SDKs\Windows\v7.0A\lib"
-export INCLUDE="c:\Program Files\Microsoft Visual Studio 10.0\VC\include;c:\Program Files\Microsoft SDKs\Windows\v7.0A\Include"
-export PATH="/vcxsrv:/cygdrive/c/Program Files/Microsoft Visual Studio 10.0/VC/bin:/cygdrive/c/Program Files/Microsoft Visual Studio 10.0/Common7/IDE:/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0A/bin:$PATH"
+# Reference for MSVC 2012 with XP Compatibility:
+# http://blogs.msdn.com/b/vcblog/archive/2012/10/08/10357555.aspx?PageIndex=2
+# Note that LINK is specified in various makefiles and scripts
+
+export MHMAKECONF=`cygpath -wa .`
+
+export VisualStudioVersion="12.0"
+
+export CL="/D_USING_V110_SDK71_"
+
+export VCINSTALLDIR="c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\\"
+export VS100COMNTOOLS="C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\\"
+export VS110COMNTOOLS="C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\\"
+export VS120COMNTOOLS="C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\\"
+export VSINSTALLDIR="C:\Program Files (x86)\Microsoft Visual Studio 12.0\\"
+export WindowsSdkDir="C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\\"
+export WindowsSdkDir_35="C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\\"
+export WindowsSdkDir_old="C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1\bin\\"
+export WindowsSdkDir_71A="C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\bin\\"
+export WindowsSdkDir_80="C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0\bin\\"
+export LIB="c:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\lib;c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\lib"
+export INCLUDE="c:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include;c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include"
+
+export PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.1A/Bin:/vcxsrv:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 12.0/Common7/IDE:/cygdrive/c/Windows/Microsoft.NET/Framework/v4.0.30319:/cygdrive/c/Program Files (x86)/Windows Kits/8.1/bin/x86/:$PATH"