diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-06-06 18:17:33 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-06-06 18:17:33 +0200 |
commit | 18d2d38ba4c03d48a772174f3de856d81ff39a4f (patch) | |
tree | ea6a461953cae17b5006bac96171949f6e707489 /cl-14 | |
parent | 34985ea6f26f6f0a383532ad804e44527715c3fe (diff) |
Major redesign of wrappers
Diffstat (limited to 'cl-14')
-rwxr-xr-x | cl-14 | 32 |
1 files changed, 4 insertions, 28 deletions
@@ -1,30 +1,6 @@ -#!/bin/sh +#! /usr/bin/env bash -# SDK -# -SDK="C:\Program Files (x86)\Windows Kits\8.1" +src="$(dirname $(realpath ${BASH_SOURCE[0]}))" -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" $* +source "$src/msvc-14" +source "$src/msvc-cl-common" |