aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcl-1120
-rwxr-xr-xcl-1220
-rwxr-xr-xcl-1430
3 files changed, 70 insertions, 0 deletions
diff --git a/cl-11 b/cl-11
new file mode 100755
index 0000000..5dc651e
--- /dev/null
+++ b/cl-11
@@ -0,0 +1,20 @@
+#! /usr/bin/env bash
+
+trap 'exit 1' ERR
+
+SDK="C:\Program Files (x86)\Windows Kits\8.0"
+
+INCLUDE="$SDK\include\shared;$SDK\include\um;$SDK\include\winrt"
+LIB="$SDK\lib\win8\um\x86"
+
+VC="C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC"
+
+INCLUDE="$VC\include;$INCLUDE"
+LIB="$VC\lib;$LIB"
+
+export INCLUDE
+export LIB
+
+export WINEDEBUG=fixme-all
+
+wine "$VC\bin\cl.exe" $*
diff --git a/cl-12 b/cl-12
new file mode 100755
index 0000000..8bda7ff
--- /dev/null
+++ b/cl-12
@@ -0,0 +1,20 @@
+#! /usr/bin/env bash
+
+trap 'exit 1' ERR
+
+SDK="C:\Program Files (x86)\Windows Kits\8.1"
+
+INCLUDE="$SDK\include\shared;$SDK\include\um;$SDK\include\winrt"
+LIB="$SDK\lib\winv6.3\um\x86"
+
+VC="C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC"
+
+INCLUDE="$VC\include;$INCLUDE"
+LIB="$VC\lib;$LIB"
+
+export INCLUDE
+export LIB
+
+export WINEDEBUG=fixme-all
+
+wine "$VC\bin\cl.exe" $*
diff --git a/cl-14 b/cl-14
new file mode 100755
index 0000000..43175d1
--- /dev/null
+++ b/cl-14
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+# SDK
+#
+SDK="C:\Program Files (x86)\Windows Kits\8.1"
+
+INCLUDE="$SDK\include\shared;$SDK\include\um;$SDK\include\winrt"
+LIB="$SDK\lib\winv6.3\um\x86"
+
+# CRT
+#
+CRT="C:\Program Files (x86)\Windows Kits\10"
+VER="10.0.10150.0"
+
+INCLUDE="$CRT\include\\$VER\ucrt;$INCLUDE"
+LIB="$CRT\lib\\$VER\ucrt\x86;$LIB"
+
+# VC
+#
+VC="C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC"
+
+INCLUDE="$VC\include;$INCLUDE"
+LIB="$VC\lib;$LIB"
+
+export INCLUDE
+export LIB
+
+export WINEDEBUG=fixme-all
+
+exec wine "$VC\bin\cl.exe" $*