summaryrefslogtreecommitdiffstats
path: root/windows/hdf5bt.BAT
diff options
context:
space:
mode:
authorScott Wegner <swegner@hdfgroup.org>2008-07-02 19:40:00 (GMT)
committerScott Wegner <swegner@hdfgroup.org>2008-07-02 19:40:00 (GMT)
commit2b50ce69837f55e009b500237e66989c8f1f8946 (patch)
treebfc72f14202a2f3a21af9a81a5a91a190024b9e8 /windows/hdf5bt.BAT
parent7722c4c834891e088666945742fc1a5a3162b947 (diff)
downloadhdf5-2b50ce69837f55e009b500237e66989c8f1f8946.zip
hdf5-2b50ce69837f55e009b500237e66989c8f1f8946.tar.gz
hdf5-2b50ce69837f55e009b500237e66989c8f1f8946.tar.bz2
[svn-r15312] Purpose: Support Visual Studio 2008 on Windows
Description: Write documentation for building HDF5 with the latest version of Visual Studio, 2008. The process is very similar to building with Visual Studio 2005, but with an automatic project-file conversion beforehand. Also adapt commandline build scripts for Visual Studio 2008 as well. Tested: VS2008 on WinXP
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