diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2009-11-11 17:47:56 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2009-11-11 17:47:56 (GMT) |
commit | 78c1df79c3760dee51b265978cd928d26e94375f (patch) | |
tree | 38513c6e591c09f5586c8cd79e9080d449fe512d /windows/hdf5build.BAT | |
parent | a44328438aa5bbe4c4927b584af18d7965e6794a (diff) | |
download | hdf5-78c1df79c3760dee51b265978cd928d26e94375f.zip hdf5-78c1df79c3760dee51b265978cd928d26e94375f.tar.gz hdf5-78c1df79c3760dee51b265978cd928d26e94375f.tar.bz2 |
[svn-r17869] Removed VS6 reference in install_dll.bat.
Added option to not build and test debug versions.
Diffstat (limited to 'windows/hdf5build.BAT')
-rwxr-xr-x | windows/hdf5build.BAT | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/windows/hdf5build.BAT b/windows/hdf5build.BAT index aee44b6..9c9d84d 100755 --- a/windows/hdf5build.BAT +++ b/windows/hdf5build.BAT @@ -22,12 +22,10 @@ rem . Note: Default is Visual Studio 2005 rem . /fort Build HDF5 with Fortran libraries
rem . /ivf101 Build HDF5 Fortran using Intel Visual Fortran 10.1
rem . /ivf91 Note: Default is Intel Visual Fortran 9.1
+rem . /nodebug Note: Default is to build debug and release versions
rem . /useenv Build HDF5 using compiler settings defined
rem . in the environment, rather than the IDE.
rem . /? Help information
-rem By Xuan Bai
-rem Created: Aug. 16, 2004
-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
@@ -48,6 +46,8 @@ pushd %~dp0 set nerrors=0
if "%1"=="/?" goto help
+set blddebug=debug
+set bldrelease=release
goto main
rem Print a help message
@@ -64,6 +64,7 @@ rem Print a help message echo. Intel Fortran version specified, or 9.1 by default
echo. /ivf101 Build HDF5 Fortran using Intel Visual Fortran 10.1
echo. /ivf91 Note: Default is Intel Visual Fortran 9.1
+ echo. /nodebug Note: Default is to build debug and release versions
echo. /useenv Build HDF5 using compiler settings defined
echo. in the environment, rather than the IDE.
echo. /? Help information
@@ -95,6 +96,10 @@ rem Parse through the parameters sent to file, and set appropriate variables rem Enable Fortran
set hdf5_ivf101=true
+ ) else if "%%a"=="/nodebug" (
+ rem Enable Fortran
+ set blddebug=
+
) else if "%%a"=="/useenv" (
rem Pass /useenv flag to devenv
set hdf5_useenv=true
@@ -287,7 +292,7 @@ rem Build the HDF5 libraries. By default, C and C++ libraries are built. echo.
rem Build both debug and release versions
- for %%a in (debug release) DO (
+ for %%a in (%blddebug% %bldrelease%) DO (
echo.Building %hdf5_platform% %%a libraries...
devenv %hdf5_sln% %ccflags% /rebuild "%%a|%hdf5_platform%"
if not errorlevel 0 (
|