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_examples.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_examples.BAT')
-rw-r--r-- | windows/hdf5build_examples.BAT | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/windows/hdf5build_examples.BAT b/windows/hdf5build_examples.BAT index 52b106a..d12fc0c 100644 --- a/windows/hdf5build_examples.BAT +++ b/windows/hdf5build_examples.BAT @@ -17,6 +17,7 @@ rem File Name: hdf5build_examples.bat 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 . /nodebug Note: Default is to build debug and release versions
rem . /useenv Build HDF5 examples using compiler settings defined
rem . in the environment, rather than the IDE.
rem . /? Help information
@@ -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 (
|