summaryrefslogtreecommitdiffstats
path: root/windows/hdf5build_examples.BAT
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2009-11-11 17:48:23 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2009-11-11 17:48:23 (GMT)
commit0514d23c0dfa2560e53ee4250592fd2a26f64e96 (patch)
treecdf65bed1e268a49b12e7e849231cd0e87302b5a /windows/hdf5build_examples.BAT
parent6e68ac3f2d1692ddee7d3152e2188072eb15cc9b (diff)
downloadhdf5-0514d23c0dfa2560e53ee4250592fd2a26f64e96.zip
hdf5-0514d23c0dfa2560e53ee4250592fd2a26f64e96.tar.gz
hdf5-0514d23c0dfa2560e53ee4250592fd2a26f64e96.tar.bz2
[svn-r17870] Removed VS6 reference in install_dll.bat.
Added option to not build and test debug versions.
Diffstat (limited to 'windows/hdf5build_examples.BAT')
-rw-r--r--windows/hdf5build_examples.BAT10
1 files changed, 9 insertions, 1 deletions
diff --git a/windows/hdf5build_examples.BAT b/windows/hdf5build_examples.BAT
index 52b106a..f03d81d 100644
--- a/windows/hdf5build_examples.BAT
+++ b/windows/hdf5build_examples.BAT
@@ -18,6 +18,7 @@ rem This batch file is used to build HDF5 C/C++/Fortran examples.
rem This batch file takes the following options:
rem . /fort Build HDF5 examples, including Fortran
rem . /useenv Build HDF5 examples using compiler settings defined
+rem . /nodebug Note: Default is to build debug and release versions
rem . in the environment, rather than the IDE.
rem . /? Help information
rem By Scott Wegner
@@ -42,6 +43,8 @@ pushd %~dp0
set nerrors=0
if "%1"=="/?" goto help
+set blddebug=debug
+set bldrelease=release
goto main
rem Print a help message
@@ -52,6 +55,7 @@ rem Print a help message
echo.Usage: %~nx0 [OPTION]
echo.
echo. /fort Build HDF5 examples, including Fortran
+ echo. /nodebug Note: Default is to build debug and release versions
echo. /useenv Build HDF5 examples using compiler settings defined
echo. in the environment, rather than the IDE.
echo. /? Help information
@@ -67,6 +71,10 @@ rem Parse through the parameters sent to file, and set appropriate variables
rem Enable Fortran
set hdf5_enablefortran=true
+ ) else if "%%a"=="/nodebug" (
+ rem Enable Fortran
+ set blddebug=
+
) else if "%%a"=="/useenv" (
rem Pass /useenv flag to devenv
set hdf5_useenv=true
@@ -163,7 +171,7 @@ rem Build the HDF5 libraries. By default, C and C++ libraries are built.
echo.**************************
echo. Building %%a Examples
echo.**************************
- for %%b in (Debug Release) do (
+ for %%b in (%blddebug% %bldrelease%) do (
echo.Building %%a %%b examples...
devenv !%%a_SLN! %ccflags% /rebuild %%b
if !errorlevel! neq 0 (