From 4a551eadd07a3217dcf673bb8b43bdf1f91a5f17 Mon Sep 17 00:00:00 2001 From: zimoch Date: Tue, 25 Jun 2013 07:38:44 +0000 Subject: [PATCH] run without sourcing the VS setup bat file. Important for cross compilations of different Windows version, e.g. 32 -> 64 bit. --- configure/os/CONFIG_SITE.win32-x86.win32-x86 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure/os/CONFIG_SITE.win32-x86.win32-x86 b/configure/os/CONFIG_SITE.win32-x86.win32-x86 index 6279aea40..cef1e16c7 100644 --- a/configure/os/CONFIG_SITE.win32-x86.win32-x86 +++ b/configure/os/CONFIG_SITE.win32-x86.win32-x86 @@ -15,3 +15,9 @@ # This will eliminate warnings about /GX being deprecated. #CCC = cl /nologo /EHsc /GR +VS = C:\Program Files\Microsoft Visual Studio 10.0 +SDK = C:\Program Files\Microsoft SDKs\Windows\v7.0A + +export PATH := $(VS)\VC\bin;$(VS)\Common7\IDE;$(SDK)\bin;$(PATH) +export INCLUDE := $(VS)\VC\include;$(SDK)\include +export LIB := $(VS)\VC\lib;$(SDK)\lib