aboutsummaryrefslogtreecommitdiff
path: root/msvc-12
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-11-24 11:38:44 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-24 11:38:44 +0200
commit3209a9fa6e87ad4d2f9d1087a1206347df4c6214 (patch)
tree84646641225fba708abb5733ce175ceb904a0de0 /msvc-12
parentd929add3baa3fac5720cf4053c42bb846d83c66b (diff)
Reorganize the script structure
Diffstat (limited to 'msvc-12')
-rwxr-xr-xmsvc-12/msvc-12-32 (renamed from msvc-12)5
1 files changed, 4 insertions, 1 deletions
diff --git a/msvc-12 b/msvc-12/msvc-12-32
index e4d9500..6d77ff6 100755
--- a/msvc-12
+++ b/msvc-12/msvc-12-32
@@ -4,6 +4,9 @@
#
# Should set the SDKBIN, VCBIN, VCDLL, INCLUDE, and LIB variables.
#
+if [ -z "$MSVC_INSTALLDIR" ]; then
+ MSVC_INSTALLDIR="Microsoft Visual Studio 12.0"
+fi
# SDK
#
@@ -15,7 +18,7 @@ LIB="$SDK\\lib\\winv6.3\\um\\x86"
# VC
#
-VC="C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC"
+VC="C:\\Program Files (x86)\\$MSVC_INSTALLDIR\\VC"
VCBIN="$VC\\bin\\amd64_x86"
VCDLL="$VC\\bin\\amd64"