aboutsummaryrefslogtreecommitdiff
path: root/cl-11
diff options
context:
space:
mode:
Diffstat (limited to 'cl-11')
-rwxr-xr-xcl-1120
1 files changed, 20 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" $*