diff options
author | Silenio Quarti <silenio_quarti@ca.ibm.com> | 2012-04-11 12:19:57 -0400 |
---|---|---|
committer | Silenio Quarti <silenio_quarti@ca.ibm.com> | 2012-04-11 12:20:43 -0400 |
commit | c42def482bde1f3028eb1dfc1657215cc10008df (patch) | |
tree | 62054800c248e8dbd0c4a0806004b61ad437d852 /bundles | |
parent | c900dc483971cf885234cfb3099f0f324be0a428 (diff) | |
download | eclipse.platform.swt-c42def482bde1f3028eb1dfc1657215cc10008df.tar.gz eclipse.platform.swt-c42def482bde1f3028eb1dfc1657215cc10008df.tar.xz eclipse.platform.swt-c42def482bde1f3028eb1dfc1657215cc10008df.zip |
build natives from local directory when available
Diffstat (limited to 'bundles')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/build-ce.bat | 10 | ||||
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/build.bat | 2 |
2 files changed, 9 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/build-ce.bat b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/build-ce.bat index c3abb32a53..b1cb1c8bf6 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/build-ce.bat +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/build-ce.bat @@ -12,23 +12,27 @@ rem **************************************************************************** @echo off +IF EXIST C:\BUILD\swt-builddir set SWT_BUILDDIR=C:\BUILD\swt-builddir +IF x.%SWT_BUILDDIR%==x. set SWT_BUILDDIR=S:\swt-builddir +echo SWT build dir: %SWT_BUILDDIR% + IF NOT "%JAVA_HOME%"=="" GOTO MAKE rem ***** rem Javah rem ***** -set JAVA_HOME=s:\swt-builddir\ive\bin +set JAVA_HOME=%SWT_BUILDDIR%\ive\bin set path=%JAVA_HOME%;%path% rem ******** rem MSVC 6.0 rem ******** -call S:\swt-builddir\MSVCs\msvc60\vc98\bin\vcvars32.bat +call %SWT_BUILDDIR%\MSVCs\msvc60\vc98\bin\vcvars32.bat rem ***************** rem MS-SDK WinCE rem ***************** -set WCEROOT=S:\swt-builddir\MSSDKs\wince.sdk +set WCEROOT=%SWT_BUILDDIR%\MSSDKs\wince.sdk rem ********************************************************** rem By default, build library for ARM Pocket PC diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/build.bat b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/build.bat index a51de39e4c..cdfa8a1315 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/build.bat +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/build.bat @@ -11,7 +11,9 @@ @echo off +#IF EXIST C:\BUILD\swt-builddir set SWT_BUILDDIR=C:\BUILD\swt-builddir IF x.%SWT_BUILDDIR%==x. set SWT_BUILDDIR=S:\swt-builddir +echo SWT build dir: %SWT_BUILDDIR% IF x.%MSSDK%==x. set MSSDK="%SWT_BUILDDIR%\MSSDKs\Windows Server 2003 SP1 SDK" IF x.%1==x.x86 GOTO X86 |