aboutsummaryrefslogtreecommitdiff
path: root/cl-11
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-06-06 18:17:33 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-06-06 18:17:33 +0200
commit18d2d38ba4c03d48a772174f3de856d81ff39a4f (patch)
treeea6a461953cae17b5006bac96171949f6e707489 /cl-11
parent34985ea6f26f6f0a383532ad804e44527715c3fe (diff)
Major redesign of wrappers
Diffstat (limited to 'cl-11')
-rwxr-xr-xcl-1120
1 files changed, 3 insertions, 17 deletions
diff --git a/cl-11 b/cl-11
index 5dc651e..7f6b85e 100755
--- a/cl-11
+++ b/cl-11
@@ -1,20 +1,6 @@
#! /usr/bin/env bash
-trap 'exit 1' ERR
+src="$(dirname $(realpath ${BASH_SOURCE[0]}))"
-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" $*
+source "$src/msvc-11"
+source "$src/msvc-cl-common"