summaryrefslogtreecommitdiffstats
path: root/windows/hdf5bt.BAT
diff options
context:
space:
mode:
Diffstat (limited to 'windows/hdf5bt.BAT')
-rwxr-xr-xwindows/hdf5bt.BAT14
1 files changed, 13 insertions, 1 deletions
diff --git a/windows/hdf5bt.BAT b/windows/hdf5bt.BAT
index 555d715..dd48f10 100755
--- a/windows/hdf5bt.BAT
+++ b/windows/hdf5bt.BAT
@@ -18,6 +18,8 @@ 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 . /vs9 Build HDF5 using Visual Studio 2008
+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.
@@ -29,7 +31,7 @@ rem . HDF5CHECK_LOG
rem . /? Help information
rem By Xuan Bai
rem Created: Aug. 16, 2004
-rem Last Updated: Scott Wegner, 6/30/08
+rem Last Updated: Scott Wegner, 7/2/08
rem This batch file makes the following assumptions:
rem - The appropriate version of Visual Studio is installed and setup
@@ -63,6 +65,8 @@ rem Print a help message
echo.
echo. /vs7 Build HDF5 using Visual Studio .NET 2003
echo. Note: Default is Visual Studio 2005
+ echo. /vs9 Build HDF5 using Visual Studio 2008
+ echo. Note: Default is Visual Studio 2005
echo. /fort Build and test HDF5 with Fortran libraries
echo. /ivf101 Build HDF5 Fortran using Intel Visual Fortran 10.1
echo. Note: Default is Intel Visual Fortran 9.1
@@ -81,6 +85,10 @@ rem Parse through the parameters sent to file, and set appropriate variables
rem Use Visual Studio .NET to build
set hdf5_vnet=true
+ ) else if "%%a"=="/vs9" (
+ rem Use Visual Studio 2008 to build
+ set hdf5_vs2008=true
+
) else if "%%a"=="/fort" (
rem Enable Fortran
set hdf5_enablefortran=true
@@ -125,6 +133,10 @@ rem Setup our environment
set hdf5build_params=%hdf5build_params% /vs7
)
+ if defined hdf5_vs2008 (
+ set hdf5build_params=%hdf5build_params% /vs9
+ )
+
if defined hdf5_enablefortran (
set hdf5build_params=%hdf5build_params% /fort
set hdf5check_params=enableall