summaryrefslogtreecommitdiffstats
path: root/windows/hdf5bt.BAT
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2009-10-12 20:16:31 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2009-10-12 20:16:31 (GMT)
commitb41e7eda1989005bd36c713ffec14e4693d0f722 (patch)
tree9578f32e415d1756fd46a97094a3f27c1ca83b4d /windows/hdf5bt.BAT
parent64ffab68819873ad03560e39366e97d4a3f7a862 (diff)
downloadhdf5-b41e7eda1989005bd36c713ffec14e4693d0f722.zip
hdf5-b41e7eda1989005bd36c713ffec14e4693d0f722.tar.gz
hdf5-b41e7eda1989005bd36c713ffec14e4693d0f722.tar.bz2
[svn-r17631] Removed vnet assignments and allow default /vs8 and /ivf91 on command line.
Tested: windows
Diffstat (limited to 'windows/hdf5bt.BAT')
-rwxr-xr-xwindows/hdf5bt.BAT30
1 files changed, 21 insertions, 9 deletions
diff --git a/windows/hdf5bt.BAT b/windows/hdf5bt.BAT
index 1cb4644..5539ce0 100755
--- a/windows/hdf5bt.BAT
+++ b/windows/hdf5bt.BAT
@@ -17,13 +17,13 @@ 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 . /vs9 Build HDF5 using Visual Studio 2008
-rem . Note: Default is Visual Studio 2005
+rem . /vs8 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.
-rem . /ivf101 Build HDF5 Fortran using Intel Visual Fortran 10.1
-rem . Note: Default is Intel Visual Fortran 9.1
-rem . /log Log the build and test results in files defined by
+rem . in the environment, rather than the IDE.
+rem . /ivf101 Build HDF5 Fortran using Intel Visual Fortran 10.1
+rem . /ivf91 Note: Default is Intel Visual Fortran 9.1
+rem . /log Log the build and test results in files defined by
rem . environment variables HDF5BUILD_LOG and
rem . HDF5CHECK_LOG
rem . /? Help information
@@ -62,10 +62,10 @@ rem Print a help message
echo Usage: %~nx0 [OPTION]
echo.
echo. /vs9 Build HDF5 using Visual Studio 2008
- echo. Note: Default is Visual Studio 2005
+ echo. /vs8 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
+ echo. /ivf91 Note: Default is Intel Visual Fortran 9.1
echo. /useenv Build HDF5 using compiler settings defined
echo. in the environment, rather than the IDE.
echo. /? Help information
@@ -83,6 +83,10 @@ rem Parse through the parameters sent to file, and set appropriate variables
call :help
exit /b 1
+ ) else if "%%a"=="/vs8" (
+ rem Use Visual Studio 2005 to build
+ set hdf5_vs2005=true
+
) else if "%%a"=="/vs9" (
rem Use Visual Studio 2008 to build
set hdf5_vs2008=true
@@ -91,6 +95,10 @@ rem Parse through the parameters sent to file, and set appropriate variables
rem Enable Fortran
set hdf5_enablefortran=true
+ ) else if "%%a"=="/ivf91" (
+ rem Enable Fortran
+ set hdf5_ivf91=true
+
) else if "%%a"=="/ivf101" (
rem Enable Fortran
set hdf5_ivf101=true
@@ -127,8 +135,8 @@ rem Setup our environment
set hdf5build_params=
set hdf5check_params=enablecpp
- if defined hdf5_vnet (
- set hdf5build_params=%hdf5build_params% /vs7
+ if defined hdf5_vs2005 (
+ set hdf5build_params=%hdf5build_params% /vs8
)
if defined hdf5_vs2008 (
@@ -140,6 +148,10 @@ rem Setup our environment
set hdf5check_params=enableall
)
+ if defined hdf5_ivf91 (
+ set hdf5build_params=%hdf5build_params% /ivf91
+ )
+
if defined hdf5_ivf101 (
set hdf5build_params=%hdf5build_params% /ivf101
)