From bcd0f808e3fe948e5ca7ae860163a13a647b8e41 Mon Sep 17 00:00:00 2001 From: clay_shooter <> Date: Mon, 22 Jun 2015 03:56:42 +0000 Subject: [PATCH] Updated to compile with VS2013 with no VS2010 installed --- jacob/build.xml | 54 ++++++++++++++++++++++++++++++++----------------- 1 file changed, 35 insertions(+), 19 deletions(-) diff --git a/jacob/build.xml b/jacob/build.xml index d17ab6f..c790212 100644 --- a/jacob/build.xml +++ b/jacob/build.xml @@ -3,24 +3,26 @@ Ant build file for JACOB. Created Feb 4, 2005 1:23:05 PM as part of migration from ANT - Last Modified September 2 2013 + Last Modified June 21, 2015 - Tested on Eclipse 3.3 with the Europa C++ plugins, Ant 1.8 and MS Visual C++ 10 (2010) + Tested on Eclipse 4.3 with the C++ plugins, Ant 1.8 and MS Visual C++ 12 (2013) Eclipse users are pretty lucky because the whole project can be built inside eclipse due to their built in ANT support. - The COM portion of this build requires MS Visual C++ 1.0. (2010) + The COM portion of this build requires MS Visual C++ Widnows SDK 7.1A The build proces defined in this build.xml file does not support YOU MUST define a file named compilation_tools.properties! The file for MS Visual C++ 10 building 32 and 64 bit (installed on windows 7 64 bit) (releases up to 1.11 only supported 32 bit builds) looks something like: + + MSDEV_PLATFORM_DIR must have an include directory in it. With VS2013 - JDK=c\:\\Program Files (x86)\\java\\jdk1.6.0_31 - MSDEV_DIR=c\:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC - MSDEV_IDE_DIR=c\:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\IDE - MSDEV_PLATFORM_DIR=c\:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A - version=1.18-M1 + JDK=c\:\\Program Files (x86)\\java\\jdk1.6.0_37 + MSDEV_DIR=c\:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC + MSDEV_IDE_DIR=c\:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\Common7\\IDE + MSDEV_PLATFORM_DIR=c\:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.1A + version=1.18-M3 DO NOT check compilation_tools.properties into source control as the values are specific to YOUR environment. @@ -91,8 +93,12 @@ + + + @@ -120,7 +126,7 @@ - + @@ -313,6 +328,7 @@ + @@ -340,17 +356,17 @@ 64 bit target Yes Yes ================================================================== --> - Clean up the target folders and file, for safety + Clean up the (x86) target folders and file, for safety Using ${library.x86} - Creating ${release.file.x86.dll} + Linking to create ${release.file.x86.dll} - + @@ -367,16 +383,16 @@ - Clean up the target folders and file, for safety + Clean up the (x64) target folders and file, for safety - Creating {$release.file.x64.dll} + Linking to create {$release.file.x64.dll} - +