[svn-r10251] Purpose:

Remove all.zip for supporting windows.
Why?
1. Avoid confliction for windows programmers
2. Decrease size of CVS tree by adding all.zip
3. Avoid using winzip as the intermediate step

Kent Yang
Description:
Put all windows project files under hdf5/windows directory.

This check-in includes some batch files.

Solution:

Platforms tested:
VS 6.0, windows XP

Misc. update:
This commit is contained in:
Fang Guo 2005-03-22 08:49:02 -05:00
parent 9a80e52533
commit 36d7bd204d
12 changed files with 1014 additions and 0 deletions

95
windows/InstallExamples.bat Executable file
View File

@ -0,0 +1,95 @@
@ECHO OFF
REM This batch file is used to install HDF5 C examples'
REM executable files.
REM By Xuan Bai
REM Created on: 9/20/2004
REM Last Modified: 10/27/2004
cd examples
mkdir examplesREL
mkdir examplesRELDLL
mkdir examplesDBG
mkdir examplesDBGDLL
cd attributetest
copy debug\attributetest.exe ..\examplesDBG\
copy release\attributetest.exe ..\examplesREL\
cd ..
cd attributetestdll
copy debug\attributetestdll.exe ..\examplesDBGDLL\
copy release\attributetestdll.exe ..\examplesRELDLL\
cd ..
cd chunkread
copy debug\chunkread.exe ..\examplesDBG\
copy release\chunkread.exe ..\examplesREL\
cd ..
cd chunkreaddll
copy debug\chunkreaddll.exe ..\examplesDBGDLL\
copy release\chunkreaddll.exe ..\examplesRELDLL\
cd ..
cd compoundtest
copy debug\compoundtest.exe ..\examplesDBG\
copy release\compoundtest.exe ..\examplesREL\
cd ..
cd compoundtestdll
copy debug\compoundtestdll.exe ..\examplesDBGDLL\
copy release\compoundtestdll.exe ..\examplesRELDLL\
cd ..
cd extendwritetest
copy debug\extendwritetest.exe ..\examplesDBG\
copy release\extendwritetest.exe ..\examplesREL\
cd ..
cd extendwritetestdll
copy debug\extendwritetestdll.exe ..\examplesDBGDLL\
copy release\extendwritetestdll.exe ..\examplesRELDLL\
cd ..
cd grouptest
copy debug\grouptest.exe ..\examplesDBG\
copy release\grouptest.exe ..\examplesREL\
cd ..
cd grouptestdll
copy debug\grouptestdll.exe ..\examplesDBGDLL\
copy release\grouptestdll.exe ..\examplesRELDLL\
cd ..
cd readtest
copy debug\readtest.exe ..\examplesDBG\
copy release\readtest.exe ..\examplesREL\
cd ..
cd readtestdll
copy debug\readtestdll.exe ..\examplesDBGDLL\
copy release\readtestdll.exe ..\examplesRELDLL\
cd ..
cd selectest
copy debug\selectest.exe ..\examplesDBG\
copy release\selectest.exe ..\examplesREL\
cd ..
cd selectestdll
copy debug\selectestdll.exe ..\examplesDBGDLL\
copy release\selectestdll.exe ..\examplesRELDLL\
cd ..
cd writetest
copy debug\writetest.exe ..\examplesDBG\
copy release\writetest.exe ..\examplesREL\
cd ..
cd writetestdll
copy debug\writetestdll.exe ..\examplesDBGDLL\
copy release\writetestdll.exe ..\examplesRELDLL\
cd ..
cd ..

85
windows/InstallcppExamples.BAT Executable file
View File

@ -0,0 +1,85 @@
@ECHO OFF
REM This batch file is used to install HDF5 C++ examples'
REM executable files.
REM By Xuan Bai
REM Created on: 10/20/2004
REM Last Modified: 10/27/2004
cd c++\examples
mkdir cppexamplesREL
mkdir cppexamplesRELDLL
mkdir cppexamplesDBG
mkdir cppexamplesDBGDLL
cd chunkstest
copy debug\chunkstest.exe ..\cppexamplesDBG\
copy release\chunkstest.exe ..\cppexamplesREL\
cd ..
cd chunkstestdll
copy debug\chunkstestdll.exe ..\cppexamplesDBGDLL\
copy release\chunkstestdll.exe ..\cppexamplesRELDLL\
cd ..
cd compoundtest
copy debug\compoundtest.exe ..\cppexamplesDBG\
copy release\compoundtest.exe ..\cppexamplesREL\
cd ..
cd compoundtestdll
copy debug\compoundtestdll.exe ..\cppexamplesDBGDLL\
copy release\compoundtestdll.exe ..\cppexamplesRELDLL\
cd ..
cd createtest
copy debug\createtest.exe ..\cppexamplesDBG\
copy release\createtest.exe ..\cppexamplesREL\
cd ..
cd createtestdll
copy debug\createtestdll.exe ..\cppexamplesDBGDLL\
copy release\createtestdll.exe ..\cppexamplesRELDLL\
cd ..
cd extend_dstest
copy debug\extend_dstest.exe ..\cppexamplesDBG\
copy release\extend_dstest.exe ..\cppexamplesREL\
cd ..
cd extend_dstestdll
copy debug\extend_dstestdll.exe ..\cppexamplesDBGDLL\
copy release\extend_dstestdll.exe ..\cppexamplesRELDLL\
cd ..
cd h5grouptest
copy debug\h5grouptest.exe ..\cppexamplesDBG\
copy release\h5grouptest.exe ..\cppexamplesREL\
cd ..
cd h5grouptestdll
copy debug\h5grouptestdll.exe ..\cppexamplesDBGDLL\
copy release\h5grouptestdll.exe ..\cppexamplesRELDLL\
cd ..
cd readdatatest
copy debug\readdatatest.exe ..\cppexamplesDBG\
copy release\readdatatest.exe ..\cppexamplesREL\
cd ..
cd readdatatestdll
copy debug\readdatatestdll.exe ..\cppexamplesDBGDLL\
copy release\readdatatestdll.exe ..\cppexamplesRELDLL\
cd ..
cd writedatatest
copy debug\writedatatest.exe ..\cppexamplesDBG\
copy release\writedatatest.exe ..\cppexamplesREL\
cd ..
cd writedatatestdll
copy debug\writedatatestdll.exe ..\cppexamplesDBGDLL\
copy release\writedatatestdll.exe ..\cppexamplesRELDLL\
cd ..
cd ..\..

155
windows/Installf90Examples.BAT Executable file
View File

@ -0,0 +1,155 @@
@ECHO OFF
REM This batch file is used to install HDF5 Fortran examples'
REM executable files.
REM By Xuan Bai
REM Created on: 10/20/2004
REM Last Modified: 10/28/2004
cd fortran\examples
mkdir f90examplesREL
mkdir f90examplesRELDLL
mkdir f90examplesDBG
mkdir f90examplesDBGDLL
cd attreexampletest
copy debug\attreexampletest.exe ..\f90examplesDBG\
copy release\attreexampletest.exe ..\f90examplesREL\
cd ..
cd attreexampletestdll
copy debug\attreexampletestdll.exe ..\f90examplesDBGDLL\
copy release\attreexampletestdll.exe ..\f90examplesRELDLL\
cd ..
cd compoundtest
copy debug\compoundtest.exe ..\f90examplesDBG\
copy release\compoundtest.exe ..\f90examplesREL\
cd ..
cd compoundtestdll
copy debug\compoundtestdll.exe ..\f90examplesDBGDLL\
copy release\compoundtestdll.exe ..\f90examplesRELDLL\
cd ..
cd dsetexampletest
copy debug\dsetexampletest.exe ..\f90examplesDBG\
copy release\dsetexampletest.exe ..\f90examplesREL\
cd ..
cd dsetexampletestdll
copy debug\dsetexampletestdll.exe ..\f90examplesDBGDLL\
copy release\dsetexampletestdll.exe ..\f90examplesRELDLL\
cd ..
cd fileexampletest
copy debug\fileexampletest.exe ..\f90examplesDBG\
copy release\fileexampletest.exe ..\f90examplesREL\
cd ..
cd fileexampletestdll
copy debug\fileexampletestdll.exe ..\f90examplesDBGDLL\
copy release\fileexampletestdll.exe ..\f90examplesRELDLL\
cd ..
cd groupexampletest
copy debug\groupexampletest.exe ..\f90examplesDBG\
copy release\groupexampletest.exe ..\f90examplesREL\
cd ..
cd groupexampletestdll
copy debug\groupexampletestdll.exe ..\f90examplesDBGDLL\
copy release\groupexampletestdll.exe ..\f90examplesRELDLL\
cd ..
cd grpdsetexampletest
copy debug\grpdsetexampletest.exe ..\f90examplesDBG\
copy release\grpdsetexampletest.exe ..\f90examplesREL\
cd ..
cd grpdsetexampletestdll
copy debug\grpdsetexampletestdll.exe ..\f90examplesDBGDLL\
copy release\grpdsetexampletestdll.exe ..\f90examplesRELDLL\
cd ..
cd grpittest
copy debug\grpittest.exe ..\f90examplesDBG\
copy release\grpittest.exe ..\f90examplesREL\
cd ..
cd grpittestdll
copy debug\grpittestdll.exe ..\f90examplesDBGDLL\
copy release\grpittestdll.exe ..\f90examplesRELDLL\
cd ..
cd grpsexampletest
copy debug\grpsexampletest.exe ..\f90examplesDBG\
copy release\grpsexampletest.exe ..\f90examplesREL\
cd ..
cd grpsexampletestdll
copy debug\grpsexampletestdll.exe ..\f90examplesDBGDLL\
copy release\grpsexampletestdll.exe ..\f90examplesRELDLL\
cd ..
cd hyperslabtest
copy debug\hyperslabtest.exe ..\f90examplesDBG\
copy release\hyperslabtest.exe ..\f90examplesREL\
cd ..
cd hyperslabtestdll
copy debug\hyperslabtestdll.exe ..\f90examplesDBGDLL\
copy release\hyperslabtestdll.exe ..\f90examplesRELDLL\
cd ..
cd mountexampletest
copy debug\mountexampletest.exe ..\f90examplesDBG\
copy release\mountexampletest.exe ..\f90examplesREL\
cd ..
cd mountexampletestdll
copy debug\mountexampletestdll.exe ..\f90examplesDBGDLL\
copy release\mountexampletestdll.exe ..\f90examplesRELDLL\
cd ..
cd refobjexampletest
copy debug\refobjexampletest.exe ..\f90examplesDBG\
copy release\refobjexampletest.exe ..\f90examplesREL\
cd ..
cd refobjexampletestdll
copy debug\refobjexampletestdll.exe ..\f90examplesDBGDLL\
copy release\refobjexampletestdll.exe ..\f90examplesRELDLL\
cd ..
cd refregexampletest
copy debug\refregexampletest.exe ..\f90examplesDBG\
copy release\refregexampletest.exe ..\f90examplesREL\
cd ..
cd refregexampletestdll
copy debug\refregexampletestdll.exe ..\f90examplesDBGDLL\
copy release\refregexampletestdll.exe ..\f90examplesRELDLL\
cd ..
cd rwdsetexampletest
copy debug\rwdsetexampletest.exe ..\f90examplesDBG\
copy release\rwdsetexampletest.exe ..\f90examplesREL\
cd ..
cd rwdsetexampletestdll
copy debug\rwdsetexampletestdll.exe ..\f90examplesDBGDLL\
copy release\rwdsetexampletestdll.exe ..\f90examplesRELDLL\
cd ..
cd selecteletest
copy debug\selecteletest.exe ..\f90examplesDBG\
copy release\selecteletest.exe ..\f90examplesREL\
cd ..
cd selecteletestdll
copy debug\selecteletestdll.exe ..\f90examplesDBGDLL\
copy release\selecteletestdll.exe ..\f90examplesRELDLL\
cd ..
cd ..\..

5
windows/copy_hdf.bat Executable file
View File

@ -0,0 +1,5 @@
copy src\H5Tinit.c ..\src
copy src\H5pubconf.h ..\src
copy fortran\src\H5fortran_types.f90 ..\fortran\src
xcopy /e/i/Y *.bat ..\

24
windows/hdf5bt.BAT Executable file
View File

@ -0,0 +1,24 @@
@REM File Name: hdf5bt.bat
@REM This batch file is used to build and test HDF5 Libraries and Tools.
@REM There are 4 options for this batch file:
@REM 1. hdf5bt -- Build and test HDF5 tools and c library
@REM 2. hdf5bt enablecpp -- Build and test HDF5 tools and c/c++ library
@REM 3. hdf5bt enablefortran -- Build and test HDF5 tools and c/fortran library
@REM 4. hdf5bt enableall -- Build and test HDF5 tools and c/c++/fortran library
@REM By Xuan Bai
@REM Created: Aug. 16, 2004
@REM Last Updated: Aug. 19, 2004
@ECHO OFF
type nul > hdf5_results.txt
echo ***************************************************************************** >> hdf5_results.txt
echo Build and Test HDF5 Library and Tools >> hdf5_results.txt
echo ***************************************************************************** >> hdf5_results.txt
call hdf5build %1
more build_results.txt >> hdf5_results.txt
del build_results.txt
call hdf5check %1
more check_results.txt >> hdf5_results.txt
del check_results.txt

141
windows/hdf5build.BAT Executable file
View File

@ -0,0 +1,141 @@
@REM File Name: hdf5build.bat
@REM This batch file is used to build HDF5 Libraries and Tools.
@REM There are 4 options for this batch file:
@REM 1. hdf5build -- Build HDF5 tools and c library
@REM 2. hdf5build enablecpp -- Build HDF5 tools and c/c++ library
@REM 3. hdf5build enablefortran -- Build HDF5 tools and c/fortran library
@REM 4. hdf5build enableall -- Build HDF5 tools and c/c++/fortran library
@REM By Xuan Bai
@REM Created: Aug. 16, 2004
@REM Last Updated: Oct. 6, 2004
@ECHO OFF
if %1.==. GOTO BUILDC
if "%1"=="/?" GOTO HELP
if %1==enablecpp GOTO BUILDCPP
if %1==enablefortran GOTO BUILDF90
if %1==enableall GOTO BUILDALL
GOTO WRONG
:BUILDC
type nul > build_results.txt
echo ***************************************************************************** >> build_results.txt
echo Build H5Tinit.exe >> build_results.txt
echo ***************************************************************************** >> build_results.txt
cd misc\typegen\h5tinit
msdev h5tinit.dsp /make "h5tinit - Win32 Debug" /Rebuild /out ..\..\..\h5tinit.log
cd ..\..\..\
more h5tinit.log >> build_results.txt
del h5tinit.log
echo ***************************************************************************** >> build_results.txt
echo Build HDF5 C Library and Tools >> build_results.txt
echo ***************************************************************************** >> build_results.txt
cd src
h5tinit.exe > h5tinit.c
cd ..\proj\all
msdev all.dsw /make "all - ALL" /Rebuild /out ..\..\all.log
cd ..\..
more all.log >> build_results.txt
del all.log
GOTO END
:BUILDCPP
type nul > build_results.txt
echo ***************************************************************************** >> build_results.txt
echo Build H5Tinit.exe >> build_results.txt
echo ***************************************************************************** >> build_results.txt
cd misc\typegen\h5tinit
msdev h5tinit.dsp /make "h5tinit - Win32 Debug" /Rebuild /out ..\..\..\h5tinit.log
cd ..\..\..\
more h5tinit.log >> build_results.txt
del h5tinit.log
echo ***************************************************************************** >> build_results.txt
echo Build HDF5 C/C++ Libraries and Tools >> build_results.txt
echo ***************************************************************************** >> build_results.txt
cd src
h5tinit.exe > h5tinit.c
cd ..\proj\all
msdev all.dsw /make "testhdf5_cppdll - ALL" "testhdf5_cpp - ALL" "dsets_cppdll - ALL" "dsets_cpp - ALL" "all - ALL" /Rebuild /out ..\..\all.log
cd ..\..
more all.log >> build_results.txt
del all.log
GOTO END
:BUILDF90
type nul > build_results.txt
echo ***************************************************************************** >> build_results.txt
echo Build H5Tinit.exe >> build_results.txt
echo ***************************************************************************** >> build_results.txt
cd misc\typegen\h5tinit
msdev h5tinit.dsp /make "h5tinit - Win32 Debug" /Rebuild /out ..\..\..\h5tinit.log
cd ..\..\..\
more h5tinit.log >> build_results.txt
del h5tinit.log
echo ***************************************************************************** >> build_results.txt
echo Build HDF5 C/Fortran Libraries and Tools >> build_results.txt
echo ***************************************************************************** >> build_results.txt
cd src
h5tinit.exe > h5tinit.c
cd ..\proj\all
msdev all.dsw /make "hl_test_image_fortran - ALL" "hl_test_lite_fortran - ALL" "hl_test_table_fortran - ALL" "testhdf5_fortrandll - ALL" "testhdf5_fortran - ALL" "flush2_fortrandll - ALL" "flush2_fortran - ALL" "flush1_fortrandll - ALL" "flush1_fortran - ALL" "all - ALL" /Rebuild /out ..\..\all.log
cd ..\..
more all.log >> build_results.txt
del all.log
GOTO END
:BUILDALL
type nul > build_results.txt
echo ***************************************************************************** >> build_results.txt
echo Build H5Tinit.exe >> build_results.txt
echo ***************************************************************************** >> build_results.txt
cd misc\typegen\h5tinit
msdev h5tinit.dsp /make "h5tinit - Win32 Debug" /Rebuild /out ..\..\..\h5tinit.log
cd ..\..\..\
more h5tinit.log >> build_results.txt
del h5tinit.log
echo ***************************************************************************** >> build_results.txt
echo Build HDF5 C/C++/Fortran Libraries and Tools >> build_results.txt
echo ***************************************************************************** >> build_results.txt
cd src
h5tinit.exe > h5tinit.c
cd ..\proj\all
msdev all.dsw /make "hl_test_image_fortran - ALL" "hl_test_lite_fortran - ALL" "hl_test_table_fortran - ALL" "testhdf5_fortrandll - ALL" "testhdf5_fortran - ALL" "flush2_fortrandll - ALL" "flush2_fortran - ALL" "flush1_fortrandll - ALL" "flush1_fortran - ALL" "testhdf5_cppdll - ALL" "testhdf5_cpp - ALL" "dsets_cppdll - ALL" "dsets_cpp - ALL" "all - ALL" /Rebuild /out ..\..\all.log
cd ..\..
more all.log >> build_results.txt
del all.log
GOTO END
:WRONG
echo The syntax of the command is incorrect.
echo.
:HELP
echo Builds HDF5 Libraries and Tools.
echo.
echo hdf5build [OPTION]
echo.
echo Please use one of the following options!
echo.
echo hdf5build Build HDF5 C Library and Tools
echo hdf5build enablecpp Build HDF5 C/C++ Libraries and Tools
echo hdf5build enablefortran Build HDF5 C/Fortran Libraries and Tools
echo hdf5build enableall Build HDF5 C/C++/Fortran Libraries and Tools
echo hdf5build /? Help information
:END

284
windows/hdf5check.BAT Executable file
View File

@ -0,0 +1,284 @@
@REM File Name: hdf5check.bat
@REM This batch file is used to test HDF5 Libraries and Tools.
@REM There are 4 options for this batch file:
@REM 1. hdf5check -- HDF5 tools and c library tests
@REM 2. hdf5check enablecpp -- HDF5 tools and c/c++ library tests
@REM 3. hdf5check enablefortran -- HDF5 tools and c/fortran library tests
@REM 4. hdf5check enableall -- HDF5 tools and c/c++/fortran library tests
@REM By Xuan Bai
@REM Created: Aug. 12, 2004
@REM Last Updated: Aug. 16, 2004
@ECHO OFF
echo install_dll
call install_dll
type nul > check_results.txt
echo ***************************************************************************** >> check_results.txt
echo HDF5 C Library Tests -- Release>> check_results.txt
echo ***************************************************************************** >> check_results.txt
cd test
echo hdf5test release
call hdf5test release >> ..\check_results.txt
echo. >> ..\check_results.txt
echo ***************************************************************************** >> ..\check_results.txt
echo HDF5 Timing Test -- Release>> ..\check_results.txt
echo ***************************************************************************** >> ..\check_results.txt
echo hdf5timingtest release
call hdf5timingtest release >> ..\check_results.txt
cd ..\tools
echo. >> ..\check_results.txt
echo testhdf5tools Release
call testhdf5tools Release
more toolstest_release.txt >> ..\check_results.txt
del toolstest_release.txt
cd ..
cd hl\test
echo test_hdf5_hl Release
call test_hdf5_hl Release >> ..\..\check_results.txt
cd ..\..
echo. >> check_results.txt
echo ***************************************************************************** >> check_results.txt
echo HDF5 C Library Tests -- Debug >> check_results.txt
echo ***************************************************************************** >> check_results.txt
cd test
echo hdf5test debug
call hdf5test debug >> ..\check_results.txt
echo. >> ..\check_results.txt
echo ***************************************************************************** >> ..\check_results.txt
echo HDF5 Timing Test -- Debug>> ..\check_results.txt
echo ***************************************************************************** >> ..\check_results.txt
echo hdf5timingtest debug
call hdf5timingtest debug >> ..\check_results.txt
cd ..\tools
echo. >> ..\check_results.txt
echo testhdf5tools Debug
call testhdf5tools Debug
more toolstest_debug.txt >> ..\check_results.txt
del toolstest_debug.txt
cd ..
cd hl\test
echo test_hdf5_hl Debug
call test_hdf5_hl Debug >> ..\..\check_results.txt
cd ..\..
echo. >> check_results.txt
echo ***************************************************************************** >> check_results.txt
echo HDF5 C Library Tests -- Release DLL >> check_results.txt
echo ***************************************************************************** >> check_results.txt
cd test
echo hdf5test release dll
call hdf5test release dll >> ..\check_results.txt
echo. >> ..\check_results.txt
echo ***************************************************************************** >> ..\check_results.txt
echo HDF5 Timing Test -- Release DLL>> ..\check_results.txt
echo ***************************************************************************** >> ..\check_results.txt
echo hdf5timingtest release dll
call hdf5timingtest release dll >> ..\check_results.txt
cd ..\tools
echo. >> ..\check_results.txt
echo testhdf5tools Release dll
call testhdf5tools Release dll
more toolstest_releasedll.txt >> ..\check_results.txt
del toolstest_releasedll.txt
cd ..
echo. >> check_results.txt
echo ***************************************************************************** >> check_results.txt
echo HDF5 C Library Tests -- Debug DLL >> check_results.txt
echo ***************************************************************************** >> check_results.txt
cd test
echo hdf5test debug dll
call hdf5test debug dll >> ..\check_results.txt
echo. >> ..\check_results.txt
echo ***************************************************************************** >> ..\check_results.txt
echo HDF5 Timing Test -- Debug DLL>> ..\check_results.txt
echo ***************************************************************************** >> ..\check_results.txt
echo hdf5timingtest debug dll
call hdf5timingtest debug dll >> ..\check_results.txt
cd ..\tools
echo. >> ..\check_results.txt
echo testhdf5tools Debug dll
call testhdf5tools Debug dll
more toolstest_debugdll.txt >> ..\check_results.txt
del toolstest_debugdll.txt
cd ..
if "%1"=="enablecpp" (
echo. >> check_results.txt
echo install_cppdll
call install_cppdll
cd c++\test
echo ***************************************************************************** >> ..\..\check_results.txt
echo HDF5 C++ Library Tests -- Release >> ..\..\check_results.txt
echo ***************************************************************************** >> ..\..\check_results.txt
echo hdf5cpptest release
call hdf5cpptest release >> ..\..\check_results.txt
echo. >> ..\..\check_results.txt
echo ***************************************************************************** >> ..\..\check_results.txt
echo HDF5 C++ Library Tests -- Debug >> ..\..\check_results.txt
echo ***************************************************************************** >> ..\..\check_results.txt
echo hdf5cpptest debug
call hdf5cpptest debug >> ..\..\check_results.txt
echo. >> ..\..\check_results.txt
echo ***************************************************************************** >> ..\..\check_results.txt
echo HDF5 C++ Library Tests -- Release DLL >> ..\..\check_results.txt
echo ***************************************************************************** >> ..\..\check_results.txt
echo hdf5cpptest release dll
call hdf5cpptest release dll >> ..\..\check_results.txt
echo. >> ..\..\check_results.txt
echo ***************************************************************************** >> ..\..\check_results.txt
echo HDF5 C++ Library Tests -- Debug DLL >> ..\..\check_results.txt
echo ***************************************************************************** >> ..\..\check_results.txt
echo hdf5cpptest debug dll
call hdf5cpptest debug dll >> ..\..\check_results.txt
cd ..\..
)
if "%1"=="enablefortran" (
echo. >> check_results.txt
echo install_f90dll
call install_f90dll
cd fortran\test
echo ***************************************************************************** >> ..\..\check_results.txt
echo HDF5 Fortran Library Tests -- Release >> ..\..\check_results.txt
echo ***************************************************************************** >> ..\..\check_results.txt
echo testhdf5_fortran release
call testhdf5_fortran release >> ..\..\check_results.txt
cd ..\..\hl\fortran\test
echo test_hdf5_hl_fortran Release
call test_hdf5_hl_fortran Release >> ..\..\..\check_results.txt
cd ..\..\..\fortran\test
echo. >> ..\..\check_results.txt
echo ***************************************************************************** >> ..\..\check_results.txt
echo HDF5 Fortran Library Tests -- Debug >> ..\..\check_results.txt
echo ***************************************************************************** >> ..\..\check_results.txt
echo testhdf5_fortran debug
call testhdf5_fortran debug >> ..\..\check_results.txt
cd ..\..\hl\fortran\test
echo test_hdf5_hl_fortran Debug
call test_hdf5_hl_fortran Debug >> ..\..\..\check_results.txt
cd ..\..\..\fortran\test
echo. >> ..\..\check_results.txt
echo ***************************************************************************** >> ..\..\check_results.txt
echo HDF5 Fortran Library Tests -- Release DLL >> ..\..\check_results.txt
echo ***************************************************************************** >> ..\..\check_results.txt
echo testhdf5_fortran release dll
call testhdf5_fortran release dll >> ..\..\check_results.txt
echo. >> ..\..\check_results.txt
echo ***************************************************************************** >> ..\..\check_results.txt
echo HDF5 Fortran Library Tests -- Debug DLL >> ..\..\check_results.txt
echo ***************************************************************************** >> ..\..\check_results.txt
echo testhdf5_fortran debug dll
call testhdf5_fortran debug dll >> ..\..\check_results.txt
cd ..\..
)
if "%1"=="enableall" (
echo. >> check_results.txt
echo install_cppdll
call install_cppdll
cd c++\test
echo ***************************************************************************** >> ..\..\check_results.txt
echo HDF5 C++ Library Tests -- Release >> ..\..\check_results.txt
echo ***************************************************************************** >> ..\..\check_results.txt
echo hdf5cpptest release
call hdf5cpptest release >> ..\..\check_results.txt
echo. >> ..\..\check_results.txt
echo ***************************************************************************** >> ..\..\check_results.txt
echo HDF5 C++ Library Tests -- Debug >> ..\..\check_results.txt
echo ***************************************************************************** >> ..\..\check_results.txt
echo hdf5cpptest debug
call hdf5cpptest debug >> ..\..\check_results.txt
echo. >> ..\..\check_results.txt
echo ***************************************************************************** >> ..\..\check_results.txt
echo HDF5 C++ Library Tests -- Release DLL >> ..\..\check_results.txt
echo ***************************************************************************** >> ..\..\check_results.txt
echo hdf5cpptest release dll
call hdf5cpptest release dll >> ..\..\check_results.txt
echo. >> ..\..\check_results.txt
echo ***************************************************************************** >> ..\..\check_results.txt
echo HDF5 C++ Library Tests -- Debug DLL >> ..\..\check_results.txt
echo ***************************************************************************** >> ..\..\check_results.txt
echo hdf5cpptest debug dll
call hdf5cpptest debug dll >> ..\..\check_results.txt
cd ..\..
echo. >> check_results.txt
echo install_f90dll
call install_f90dll
cd fortran\test
echo ***************************************************************************** >> ..\..\check_results.txt
echo HDF5 Fortran Library Tests -- Release >> ..\..\check_results.txt
echo ***************************************************************************** >> ..\..\check_results.txt
echo testhdf5_fortran release
call testhdf5_fortran release >> ..\..\check_results.txt
cd ..\..\hl\fortran\test
echo test_hdf5_hl_fortran Release
call test_hdf5_hl_fortran Release >> ..\..\..\check_results.txt
cd ..\..\..\fortran\test
echo. >> ..\..\check_results.txt
echo ***************************************************************************** >> ..\..\check_results.txt
echo HDF5 Fortran Library Tests -- Debug >> ..\..\check_results.txt
echo ***************************************************************************** >> ..\..\check_results.txt
echo testhdf5_fortran debug
call testhdf5_fortran debug >> ..\..\check_results.txt
cd ..\..\hl\fortran\test
echo test_hdf5_hl_fortran Debug
call test_hdf5_hl_fortran Debug >> ..\..\..\check_results.txt
cd ..\..\..\fortran\test
echo. >> ..\..\check_results.txt
echo ***************************************************************************** >> ..\..\check_results.txt
echo HDF5 Fortran Library Tests -- Release DLL >> ..\..\check_results.txt
echo ***************************************************************************** >> ..\..\check_results.txt
echo testhdf5_fortran release dll
call testhdf5_fortran release dll >> ..\..\check_results.txt
echo. >> ..\..\check_results.txt
echo ***************************************************************************** >> ..\..\check_results.txt
echo HDF5 Fortran Library Tests -- Debug DLL >> ..\..\check_results.txt
echo ***************************************************************************** >> ..\..\check_results.txt
echo testhdf5_fortran debug dll
call testhdf5_fortran debug dll >> ..\..\check_results.txt
cd ..\..
)
type nul > number_failed.txt
type nul > tests_results.txt
find /C "FAIL" check_results.txt > number_failed.txt
find "FAIL" check_results.txt > tests_failed.txt
for /f "tokens=1,2*" %%a in (
number_failed.txt
) do ( if %%c==0 (
echo All HDF5 Tests Passed! >> tests_results.txt
) else (
echo The Following HDF5 Tests Failed: >> tests_results.txt
more /e +2 tests_failed.txt >> tests_results.txt
)
)
del number_failed.txt
del tests_failed.txt

10
windows/install_cppdll.BAT Executable file
View File

@ -0,0 +1,10 @@
@REM File name: install_cpp.bat
@REM This batch file is used to copy HDF5 c++ library DLLs into system folder.
@REM By Xuan Bai
@REM Created: Aug. 12, 2004
@REM Last Updated: Aug. 16, 2004
@ ECHO OFF
copy proj\hdf5_cppdll\debug\hdf5_cppddll.dll %SystemRoot%\system >temp.txt
copy proj\hdf5_cppdll\release\hdf5_cppdll.dll %SystemRoot%\system >temp.txt
del temp.txt

12
windows/install_dll.BAT Executable file
View File

@ -0,0 +1,12 @@
@REM File name: install_dll.bat
@REM This batch file is used to copy HDF5 c library DLLs into system folder.
@REM By Xuan Bai
@REM Created: Aug. 12, 2004
@REM Last Updated: Aug. 16, 2004
@ ECHO OFF
copy proj\hdf5dll\debug\hdf5ddll.dll %SystemRoot%\system >temp.txt
copy proj\hdf5dll\release\hdf5dll.dll %SystemRoot%\system >temp.txt
copy test\libtestD\debug\libtestDd.dll %SystemRoot%\system >temp.txt
copy test\libtestD\release\libtestD.dll %SystemRoot%\system >temp.txt
del temp.txt

16
windows/install_f90dll.BAT Executable file
View File

@ -0,0 +1,16 @@
@REM File name: install_f90dll.bat
@REM This batch file is used to copy HDF5 Fortran library DLLs into system folder.
@REM By Xuan Bai
@REM Created: Aug. 12, 2004
@REM Last Updated: Aug. 16, 2004
@ ECHO OFF
copy proj\hdf5_f90cstubdll\debug\hdf5_f90cstubddll.dll %SystemRoot%\system >temp.txt
copy proj\hdf5_f90cstubdll\release\hdf5_f90cstubdll.dll %SystemRoot%\system >temp.txt
copy proj\hdf5_fortrandll\debug\hdf5_fortranddll.dll %SystemRoot%\system >temp.txt
copy proj\hdf5_fortrandll\release\hdf5_fortrandll.dll %SystemRoot%\system >temp.txt
copy fortran\test\libtest_cstubdll\debug\libtest_cstubddll.dll %SystemRoot%\system >temp.txt
copy fortran\test\libtest_cstubdll\release\libtest_cstubdll.dll %SystemRoot%\system >temp.txt
copy fortran\test\libtest_fortrandll\debug\libtest_fortranddll.dll %SystemRoot%\system >temp.txt
copy fortran\test\libtest_fortrandll\release\libtest_fortrandll.dll %SystemRoot%\system >temp.txt
del temp.txt

121
windows/installhdf5lib.bat Executable file
View File

@ -0,0 +1,121 @@
@REM This batch file is used to install HDF5 libraries and tools
@REM Last Updated: 11/03/2004
mkdir hdf5lib
cd hdf5lib
mkdir debug
cd debug
mkdir bin
mkdir bindll
mkdir dll
mkdir lib
mkdir include
cd ..
mkdir release
cd release
mkdir bin
mkdir bindll
mkdir dll
mkdir lib
mkdir include
cd ..
cd ..
@REM Install C libraries and tools
copy src\*.h hdf5lib\debug\include
del hdf5lib\debug\include\*private.h
copy proj\hdf5\debug\hdf5d.lib hdf5lib\debug\lib
copy proj\hdf5dll\debug\hdf5ddll.lib hdf5lib\debug\dll
copy proj\hdf5dll\debug\hdf5ddll.dll hdf5lib\debug\dll
copy tools\gifconv\debug\h52gif.exe hdf5lib\debug\bin
copy tools\gifconv\debug\gif2h5.exe hdf5lib\debug\bin
copy tools\h5debug\debug\h5debug.exe hdf5lib\debug\bin
copy tools\h5diff\debug\h5diff.exe hdf5lib\debug\bin
copy tools\h5dump\debug\h5dump.exe hdf5lib\debug\bin
copy tools\h5import\debug\h5import.exe hdf5lib\debug\bin
copy tools\h5jam\debug\h5jam.exe hdf5lib\debug\bin
copy tools\h5ls\debug\h5ls.exe hdf5lib\debug\bin
copy tools\h5repack\debug\h5repack.exe hdf5lib\debug\bin
copy tools\h5repart\debug\h5repart.exe hdf5lib\debug\bin
copy tools\h5unjam\debug\h5unjam.exe hdf5lib\debug\bin
copy tools\gifconvdll\debug\h52gifdll.exe hdf5lib\debug\bindll
copy tools\gifconvdll\debug\gif2h5dll.exe hdf5lib\debug\bindll
copy tools\h5debugdll\debug\h5debugdll.exe hdf5lib\debug\bindll
copy tools\h5diffdll\debug\h5diffdll.exe hdf5lib\debug\bindll
copy tools\h5dumpdll\debug\h5dumpdll.exe hdf5lib\debug\bindll
copy tools\h5importdll\debug\h5importdll.exe hdf5lib\debug\bindll
copy tools\h5lsdll\debug\h5lsdll.exe hdf5lib\debug\bindll
copy tools\h5repackdll\debug\h5repackdll.exe hdf5lib\debug\bindll
copy tools\h5repartdll\debug\h5repartdll.exe hdf5lib\debug\bindll
copy src\*.h hdf5lib\release\include
del hdf5lib\release\include\*private.h
copy proj\hdf5\release\hdf5.lib hdf5lib\release\lib
copy proj\hdf5dll\release\hdf5dll.lib hdf5lib\release\dll
copy proj\hdf5dll\release\hdf5dll.dll hdf5lib\release\dll
copy tools\gifconv\release\h52gif.exe hdf5lib\release\bin
copy tools\gifconv\release\gif2h5.exe hdf5lib\release\bin
copy tools\h5debug\release\h5debug.exe hdf5lib\release\bin
copy tools\h5diff\release\h5diff.exe hdf5lib\release\bin
copy tools\h5dump\release\h5dump.exe hdf5lib\release\bin
copy tools\h5import\release\h5import.exe hdf5lib\release\bin
copy tools\h5jam\release\h5jam.exe hdf5lib\release\bin
copy tools\h5ls\release\h5ls.exe hdf5lib\release\bin
copy tools\h5repack\release\h5repack.exe hdf5lib\release\bin
copy tools\h5repart\release\h5repart.exe hdf5lib\release\bin
copy tools\h5unjam\release\h5unjam.exe hdf5lib\release\bin
copy tools\gifconvdll\release\h52gifdll.exe hdf5lib\release\bindll
copy tools\gifconvdll\release\gif2h5dll.exe hdf5lib\release\bindll
copy tools\h5debugdll\release\h5debugdll.exe hdf5lib\release\bindll
copy tools\h5diffdll\release\h5diffdll.exe hdf5lib\release\bindll
copy tools\h5dumpdll\release\h5dumpdll.exe hdf5lib\release\bindll
copy tools\h5importdll\release\h5importdll.exe hdf5lib\release\bindll
copy tools\h5lsdll\release\h5lsdll.exe hdf5lib\release\bindll
copy tools\h5repackdll\release\h5repackdll.exe hdf5lib\release\bindll
copy tools\h5repartdll\release\h5repartdll.exe hdf5lib\release\bindll
@REM Install HDF5 High Level Libraries
copy hl\src\*.h hdf5lib\debug\include
copy proj\hdf5_hl_fortran\debug\*.mod hdf5lib\debug\include
copy proj\hdf5_hl\debug\hdf5_hld.lib hdf5lib\debug\lib
copy proj\hdf5_hl_fortran\debug\hdf5_hl_fortrand.lib hdf5lib\debug\lib
copy hl\src\*.h hdf5lib\release\include
copy proj\hdf5_hl_fortran\release\*.mod hdf5lib\release\include
copy proj\hdf5_hl\release\hdf5_hl.lib hdf5lib\release\lib
copy proj\hdf5_hl_fortran\release\hdf5_hl_fortran.lib hdf5lib\release\lib
@REM Install C++ libraries and tools
rename c++ cpp
copy cpp\src\*.h hdf5lib\debug\include
copy proj\hdf5_cpp\debug\hdf5_cppd.lib hdf5lib\debug\lib
copy proj\hdf5_cppdll\debug\hdf5_cppddll.lib hdf5lib\debug\dll
copy proj\hdf5_cppdll\debug\hdf5_cppddll.dll hdf5lib\debug\dll
copy cpp\src\*.h hdf5lib\release\include
copy proj\hdf5_cpp\release\hdf5_cpp.lib hdf5lib\release\lib
copy proj\hdf5_cppdll\release\hdf5_cppdll.lib hdf5lib\release\dll
copy proj\hdf5_cppdll\release\hdf5_cppdll.dll hdf5lib\release\dll
rename cpp c++
@REM Install Fortran libraries and tools
copy proj\hdf5_fortran\debug\*.mod hdf5lib\debug\include
copy proj\hdf5_fortran\debug\hdf5_fortrand.lib hdf5lib\debug\lib
copy proj\hdf5_fortrandll\debug\*.mod hdf5lib\debug\include
copy proj\hdf5_fortrandll\debug\hdf5_fortranddll.lib hdf5lib\debug\dll
copy proj\hdf5_fortrandll\debug\hdf5_fortranddll.dll hdf5lib\debug\dll
copy proj\hdf5_f90cstubdll\debug\hdf5_f90cstubddll.dll hdf5lib\debug\dll
copy proj\hdf5_fortran\release\*.mod hdf5lib\release\include
copy proj\hdf5_fortran\release\hdf5_fortran.lib hdf5lib\release\lib
copy proj\hdf5_fortrandll\release\*.mod hdf5lib\release\include
copy proj\hdf5_fortrandll\release\hdf5_fortrandll.lib hdf5lib\release\dll
copy proj\hdf5_fortrandll\release\hdf5_fortrandll.dll hdf5lib\release\dll
copy proj\hdf5_f90cstubdll\release\hdf5_f90cstubdll.dll hdf5lib\release\dll

66
windows/installhdf5lib_fort.bat Executable file
View File

@ -0,0 +1,66 @@
mkdir hdf5lib
cd hdf5lib
mkdir debug
cd debug
mkdir bin
mkdir bindll
mkdir dll
mkdir lib
mkdir include
cd ..
mkdir release
cd release
mkdir bin
mkdir bindll
mkdir dll
mkdir lib
mkdir include
cd ..
cd ..
move src\*.h hdf5lib\debug\include
move proj\hdf5\debug\*.mod hdf5lib\debug\include
del hdf5lib\debug\include\*private.h
move proj\hdf5\debug\hdf5.lib hdf5lib\debug\lib
move proj\hdf5dll\debug\hdf5ddll.lib hdf5lib\debug\dll
move proj\hdf5dll\debug\hdf5ddll.dll hdf5lib\debug\dll
move tools\h5dump\debug\h5dump.exe hdf5lib\debug\bin
move tools\h5import\debug\h5import.exe hdf5lib\debug\bin
move tools\h5repart\debug\h5repart.exe hdf5lib\debug\bin
move tools\h5ls\debug\h5ls.exe hdf5lib\debug\bin
move tools\h5debug\debug\h5debug.exe hdf5lib\debug\bin
move tools\gifconv\debug\gif2h5.exe hdf5lib\debug\bin
move tools\gifconv\debug\h52gif.exe hdf5lib\debug\bin
move tools\h5dumpdll\debug\h5dumpdll.exe hdf5lib\debug\bindll
move tools\h5importdll\debug\h5importdll.exe hdf5lib\debug\bindll
move tools\h5repartdll\debug\h5repartdll.exe hdf5lib\debug\bindll
move tools\h5lsdll\debug\h5lsdll.exe hdf5lib\debug\bindll
move tools\h5debugdll\debug\h5debugdll.exe hdf5lib\debug\bindll
move src\*.h hdf5lib\release\include
move proj\hdf5\release\*.mod hdf5lib\release\include
del hdf5lib\release\include\*private.h
move proj\hdf5\release\hdf5.lib hdf5lib\release\lib
move proj\hdf5dll\release\hdf5dll.lib hdf5lib\release\dll
move proj\hdf5dll\release\hdf5dll.dll hdf5lib\release\dll
move tools\h5dump\release\h5dump.exe hdf5lib\release\bin
move tools\h5import\release\h5import.exe hdf5lib\release\bin
move tools\h5repart\release\h5repart.exe hdf5lib\release\bin
move tools\h5ls\release\h5ls.exe hdf5lib\release\bin
move tools\h5debug\release\h5debug.exe hdf5lib\release\bin
move tools\gifconv\release\gif2h5.exe hdf5lib\release\bin
move tools\gifconv\release\h52gif.exe hdf5lib\release\bin
move tools\h5dumpdll\release\h5dumpdll.exe hdf5lib\release\bindll
move tools\h5importdll\release\h5importdll.exe hdf5lib\release\bindll
move tools\h5repartdll\release\h5repartdll.exe hdf5lib\release\bindll
move tools\h5lsdll\release\h5lsdll.exe hdf5lib\release\bindll
move tools\h5debugdll\release\h5debugdll.exe hdf5lib\release\bindll