summaryrefslogtreecommitdiffstats
path: root/windows/hdf5bt.BAT
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2008-06-23 19:16:31 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2008-06-23 19:16:31 (GMT)
commit46d917001cc78bb7250167f755c12ae6dea6854c (patch)
tree8f03c918de43ece1026803f66115b457b3573bc6 /windows/hdf5bt.BAT
parenta051d43645edb74483fcc2757fa267d081f527df (diff)
downloadhdf5-46d917001cc78bb7250167f755c12ae6dea6854c.zip
hdf5-46d917001cc78bb7250167f755c12ae6dea6854c.tar.gz
hdf5-46d917001cc78bb7250167f755c12ae6dea6854c.tar.bz2
[svn-r15262] Description:
Merge revisions 15037:15130 from trunk into metadata journaling branch Tested on: FreeBSD/32 6.2 (duty) in debug mode FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Mac OS X/32 10.5.2 (amazon) in debug mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
Diffstat (limited to 'windows/hdf5bt.BAT')
-rwxr-xr-xwindows/hdf5bt.BAT16
1 files changed, 14 insertions, 2 deletions
diff --git a/windows/hdf5bt.BAT b/windows/hdf5bt.BAT
index 557f9bf..683b400 100755
--- a/windows/hdf5bt.BAT
+++ b/windows/hdf5bt.BAT
@@ -16,6 +16,8 @@ rem access to either file, you may request a copy from help@hdfgroup.org.
rem File Name: hdf5bt.bat
rem This batch file is used to build and test HDF5 Libraries and Tools.
rem This batch file takes the following options:
+rem . /vs7 Build HDF5 using Visual Studio .NET 2003
+rem . Note: Default is Visual Studio 2005
rem . /fort Build and test HDF5 with Fortran libraries
rem . /useenv Build HDF5 using compiler settings defined
rem . in the environment, rather than the IDE.
@@ -25,7 +27,7 @@ rem . HDF5CHECK_LOG
rem . /? Help information
rem By Xuan Bai
rem Created: Aug. 16, 2004
-rem Last Updated: Scott Wegner, 10/1/07
+rem Last Updated: Scott Wegner, 5/27/08
rem This batch file makes the following assumptions:
rem - The appropriate version of Visual Studio is installed and setup
@@ -57,6 +59,8 @@ rem Print a help message
echo.
echo Usage: %~nx0 [OPTION]
echo.
+ echo. /vs7 Build HDF5 using Visual Studio .NET 2003
+ echo. Note: Default is Visual Studio 2005
echo. /fort Build and test HDF5 with Fortran libraries
echo. /useenv Build HDF5 using compiler settings defined
echo. in the environment, rather than the IDE.
@@ -69,7 +73,11 @@ rem Parse through the parameters sent to file, and set appropriate variables
:parse_params
for %%a in (%*) do (
- if "%%a"=="/fort" (
+ if "%%a"=="/vs7" (
+ rem Use Visual Studio .NET to build
+ set hdf5_vnet=true
+
+ ) else if "%%a"=="/fort" (
rem Enable Fortran
set hdf5_enablefortran=true
@@ -105,6 +113,10 @@ rem Setup our environment
set hdf5build_params=
set hdf5check_params=enablecpp
+ if defined hdf5_vnet (
+ set hdf5build_params=%hdf5build_params% /vs7
+ )
+
if defined hdf5_enablefortran (
set hdf5build_params=%hdf5build_params% /fort
set hdf5check_params=enableall