Files
hdf5/windows/install_dll.BAT
Quincey Koziol d2b87ec47e [svn-r17896] Description:
Bring r17546:17895 from trunk to revise_chunks branch.  Changes to
fixed and extensible array dataset chunk indexing code to accommodate changes
to private APIs in those interfaces.  Also, other adjustments to source code
and expected output in response to changes on the trunk.

Tested on:
        FreeBSD/32 6.3 (duty) in debug mode
        FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
                w/C++ & FORTRAN, w/threadsafe, in debug mode
        Linux/64-amd64 2.6 (smirom) w/Intel compilers, w/default API=1.6.x,
                w/C++ & FORTRAN, in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                w/szip filter, in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                in production mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode
        Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
        Mac OS X/32 10.6.2 (amazon) in debug mode
        Mac OS X/32 10.6.2 (amazon) w/C++ & FORTRAN, w/threadsafe,
                in production mode
2009-11-16 15:45:05 -05:00

82 lines
3.0 KiB
Batchfile
Executable File

@echo OFF
rem Copyright by The HDF Group.
rem Copyright by the Board of Trustees of the University of Illinois.
rem All rights reserved.
rem
rem This file is part of HDF5. The full HDF5 copyright notice, including
rem terms governing use, modification, and redistribution, is contained in
rem the files COPYING and Copyright.html. COPYING can be found at the root
rem of the source code distribution tree; Copyright.html can be found at the
rem root level of an installed copy of the electronic HDF5 document set and
rem is linked from the top-level documents page. It can also be found at
rem http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
rem access to either file, you may request a copy from helphdfgroup.org.
rem
rem
rem File name: install_dll.bat
rem This batch file is used to copy ALL HDF5 DLLs into system folder.
rem By Xuan Bai
rem Created: Aug. 12, 2004
rem Last Scott Wegner, 9/10/07
setlocal enabledelayedexpansion
pushd %~dp0
set install_dir=%systemroot%\system
goto :main
rem This function actally copies the DLL over, and prints a status message
rem Expected parameters:
rem %1 - name of DLL to copy
:copy_dll
if exist %1 (
echo.Installing %~nx1
copy /y %1 %install_dir% > nul
)
exit /b
rem Add the DLLS to be copied here.
:main
rem HDF5 Library
call :copy_dll proj\hdf5dll\debug\hdf5ddll.dll
call :copy_dll proj\hdf5dll\release\hdf5dll.dll
call :copy_dll test\libtestdll\debug\libtestddll.dll
call :copy_dll test\libtestdll\release\libtestdll.dll
rem C++
call :copy_dll proj\hdf5_cppdll\debug\hdf5_cppddll.dll
call :copy_dll proj\hdf5_cppdll\release\hdf5_cppdll.dll
rem Fortran
call :copy_dll proj\hdf5_f90cstubdll\debug\hdf5_f90cstubddll.dll
call :copy_dll proj\hdf5_f90cstubdll\release\hdf5_f90cstubdll.dll
call :copy_dll proj\hdf5_fortrandll\debug\hdf5_fortranddll.dll
call :copy_dll proj\hdf5_fortrandll\release\hdf5_fortrandll.dll
call :copy_dll fortran\test\libtest_cstubdll\debug\libtest_cstubddll.dll
call :copy_dll fortran\test\libtest_cstubdll\release\libtest_cstubdll.dll
call :copy_dll fortran\test\libtest_fortrandll\debug\libtest_fortranddll.dll
call :copy_dll fortran\test\libtest_fortrandll\release\libtest_fortrandll.dll
rem HL
call :copy_dll proj\hdf5_hldll\Debug\hdf5_hlddll.dll
call :copy_dll proj\hdf5_hldll\Release\hdf5_hldll.dll
rem HL C++
call :copy_dll proj\hdf5_hl_cppdll\Release\hdf5_hl_cppdll.dll
call :copy_dll proj\hdf5_hl_cppdll\Debug\hdf5_hl_cppddll.dll
rem HL Fortran
call :copy_dll proj\hdf5_hl_fortrandll\Debug\hdf5_hl_fortranddll.dll
call :copy_dll proj\hdf5_hl_f90cstubdll\Debug\hdf5_hl_f90cstubddll.dll
call :copy_dll proj\hdf5_hl_fortrandll\Release\hdf5_hl_fortrandll.dll
call :copy_dll proj\hdf5_hl_f90cstubdll\Release\hdf5_hl_f90cstubdll.dll
popd
endlocal & exit /b