Description: Make the Windows copy_hdf.bat a little cleaner/safer, and produce useful output in installhdf5lib.bat Previously, all of our build output would simply go to stdout/stderr for command-line builds. We can pipe this into a log file as a whole, but the complete logfile becomes very large very quickly. Instead, we give the user an option to place build results and test results into separate logs (or even the same). This will help keeping track of results in our automated testing. Tested: VS2005 on WinXP
32 lines
1.3 KiB
Batchfile
Executable File
32 lines
1.3 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 help@hdfgroup.org.
|
|
|
|
rem File Name : copy_hdf.bat
|
|
rem Purpose : Copy all Files in the following formats from Windows to
|
|
rem approapriate directory: .bat .c .f90 .h .txt .js
|
|
rem :
|
|
rem Written By : Muqun Yang
|
|
rem Last Update : 2/18/08 by Scott Wegner
|
|
|
|
pushd %~dp0
|
|
|
|
copy /y src\H5Tinit.c ..\src > nul
|
|
copy /y src\H5pubconf.h ..\src > nul
|
|
copy /y fortran\src\H5f90i_gen.h ..\fortran\src > nul
|
|
copy /y fortran\src\H5fortran_types.f90 ..\fortran\src > nul
|
|
xcopy /s /i /y *.bat ..\ > nul
|
|
copy /y examples\testExamples_exp_output.txt ..\examples > nul
|
|
|
|
popd
|