diff options
Diffstat (limited to 'windows/batch_net')
-rwxr-xr-x | windows/batch_net/convert_to_vcproj.bat | 84 | ||||
-rwxr-xr-x | windows/batch_net/hdf5bt_net.bat | 72 | ||||
-rwxr-xr-x | windows/batch_net/hdf5build_net.bat | 226 |
3 files changed, 191 insertions, 191 deletions
diff --git a/windows/batch_net/convert_to_vcproj.bat b/windows/batch_net/convert_to_vcproj.bat index e6ddcad..68001b7 100755 --- a/windows/batch_net/convert_to_vcproj.bat +++ b/windows/batch_net/convert_to_vcproj.bat @@ -1,42 +1,42 @@ -@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://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html. If you do not have -@REM access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu. - -@REM File Name: convert_to_vcproj.bat -@REM Purpose: Convert Visual C++ 6.0 project format to Visual Studio .net project format. -@REM Written By: Fang GUO -@REM Date: May 27, 2005 -@REM Update: June 7, 2005 - -::@echo off - -type nul > convert.log -echo.>>convert.log -echo This batch file will convert all .dsp files in HDF5 C, >> convert.log -echo C++ and Fortran library to .vcproj format >> convert.log - -CScript //H:CScript //Nologo - -echo. -echo. START converting files .dsp to .vcproj -echo. - -for /R %CD%\windows\ %%i in (*.vcproj) do ( -del %%i -) - -for /R %CD%\windows\ %%i in (*.dsp) do ( -convert.js %%i %%~pi%%~ni.vcproj >> convert.log -) - -echo. -echo. END converting files .dsp to .vcproj -echo. +@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://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html. If you do not have
+@REM access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu.
+
+@REM File Name: convert_to_vcproj.bat
+@REM Purpose: Convert Visual C++ 6.0 project format to Visual Studio .net project format.
+@REM Written By: Fang GUO
+@REM Date: May 27, 2005
+@REM Update: June 7, 2005
+
+::@echo off
+
+type nul > convert.log
+echo.>>convert.log
+echo This batch file will convert all .dsp files in HDF5 C, >> convert.log
+echo C++ and Fortran library to .vcproj format >> convert.log
+
+CScript //H:CScript //Nologo
+
+echo.
+echo. START converting files .dsp to .vcproj
+echo.
+
+for /R %CD%\windows\ %%i in (*.vcproj) do (
+del %%i
+)
+
+for /R %CD%\windows\ %%i in (*.dsp) do (
+convert.js %%i %%~pi%%~ni.vcproj >> convert.log
+)
+
+echo.
+echo. END converting files .dsp to .vcproj
+echo.
diff --git a/windows/batch_net/hdf5bt_net.bat b/windows/batch_net/hdf5bt_net.bat index 93e428f..fe8360a 100755 --- a/windows/batch_net/hdf5bt_net.bat +++ b/windows/batch_net/hdf5bt_net.bat @@ -1,36 +1,36 @@ -@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://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html. If you do not have -@REM access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu. - -@REM File Name : hdf5bt_net.bat -@REM Purpose : Building and Testing HDF5 with MSVS .NET -@REM Written By: Fang GUO -@REM Date : May 27, 2005 -@REM Update : June 7, 2005 - -@REM There are 2 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 - -@ECHO OFF - -type nul > hdf5_results_net.txt -echo ***************************************************************************** >> hdf5_results_net.txt -echo Build and Test HDF5 Library and Tools >> hdf5_results_net.txt -echo ***************************************************************************** >> hdf5_results_net.txt - -call hdf5build_net %1 -more build_results_net.txt >> hdf5_results_net.txt -del build_results_net.txt - -call hdf5check %1 -more check_results.txt >> hdf5_results_net.txt -del check_results.txt +@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://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html. If you do not have
+@REM access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu.
+
+@REM File Name : hdf5bt_net.bat
+@REM Purpose : Building and Testing HDF5 with MSVS .NET
+@REM Written By: Fang GUO
+@REM Date : May 27, 2005
+@REM Update : June 7, 2005
+
+@REM There are 2 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
+
+@ECHO OFF
+
+type nul > hdf5_results_net.txt
+echo ***************************************************************************** >> hdf5_results_net.txt
+echo Build and Test HDF5 Library and Tools >> hdf5_results_net.txt
+echo ***************************************************************************** >> hdf5_results_net.txt
+
+call hdf5build_net %1
+more build_results_net.txt >> hdf5_results_net.txt
+del build_results_net.txt
+
+call hdf5check %1
+more check_results.txt >> hdf5_results_net.txt
+del check_results.txt
diff --git a/windows/batch_net/hdf5build_net.bat b/windows/batch_net/hdf5build_net.bat index d3c68c4..185e118 100755 --- a/windows/batch_net/hdf5build_net.bat +++ b/windows/batch_net/hdf5build_net.bat @@ -1,113 +1,113 @@ -@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://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html. If you do not have -@REM access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu. - -:: File Name : hdf5build_net.bat -:: Purpose : Building HDF5 with MSVS .NET -:: Written By: Fang GUO -:: Date : May 27, 2005 -:: Update : June 7, 2005 - -:: There are 2 options for this batch file: -:: 1. hdf5build_net -- Build HDF5 tools and c library -:: 2. hdf5build_net enablecpp -- Build HDF5 tools and c/c++ library -@echo off - -if "%1"=="/?" GOTO HELP -if not %1.==. ( - if not "%1"=="/?" ( - if not "%1"=="enablecpp" goto WRONG - ) -) - -call convert_to_vcproj -type nul > build_results_net.txt -type nul > all_debug.log -type nul >all_release.log -echo ***************************************************************************** >> build_results_net.txt -echo Build H5Tinit.exe >> build_results_net.txt -echo ***************************************************************************** >> build_results_net.txt - -cd windows\misc\typegen -devenv typegen.sln /rebuild Debug /project h5tinit /out ..\..\..\h5tinit.log -cd ..\..\..\ -more h5tinit.log >> build_results_net.txt -del h5tinit.log - -cd src -h5tinit.exe > h5tinit.c -cd ..\ - - -@ECHO OFF -if %1.==. GOTO BUILDC -if %1==enablecpp GOTO BUILDCPP - -:BUILDC - -echo ***************************************************************************** >> build_results_net.txt -echo Build HDF5 C Library and Tools >> build_results_net.txt -echo ***************************************************************************** >> build_results_net.txt - -echo Starting Building HDF5 C Libraries! - -cd windows\proj\all -devenv all.sln /rebuild debug >> ..\..\..\all_debug.log -devenv all.sln /rebuild release >> ..\..\..\all_release.log -cd ..\..\..\ -more all_debug.log >> build_results_net.txt -more all_release.log >> build_results_net.txt -del all_debug.log -del all_release.log -GOTO END - -:BUILDCPP -echo ***************************************************************************** >> build_results_net.txt -echo Build HDF5 C/C++ Libraries and Tools >> build_results_net.txt -echo ***************************************************************************** >> build_results_net.txt - -echo Starting Building HDF5 C and C++ Libraries! - -cd windows\proj\all -devenv all.sln /rebuild debug >> ..\..\..\all_debug.log -for %%i in (hdf5_cpp hdf5_hl_cpp testhdf5_cpp dsets_cpp hl_test_table_cpp) do ( -devenv all.sln /build debug /project %%i >>..\..\..\all_debug.log -devenv all.sln /build debug /project %%idll >>..\..\..\all_debug.log -) - -devenv all.sln /rebuild release >> ..\..\..\all_release.log -for %%i in (hdf5_cpp hdf5_hl_cpp testhdf5_cpp dsets_cpp hl_test_table_cpp) do ( -devenv all.sln /build release /project %%i >>..\..\..\all_release.log -devenv all.sln /build release /project %%idll >>..\..\..\all_release.log - -) - -cd ..\..\..\ - -more all_debug.log >> build_results_net.txt -more all_release.log >> build_results_net.txt -del all_debug.log -del all_release.log -GOTO END - -:WRONG -echo. -echo. The syntax of the command is incorrect. - -:HELP -echo. -echo Please use one of the following options! -echo. -echo. hdf5build_net Build HDF5 C Library and Tools -echo. hdf5build_net enablecpp Build HDF5 C/C++ Libraries and Tools -echo. hdf5build /? Help information -echo. -:END +@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://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html. If you do not have
+@REM access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu.
+
+:: File Name : hdf5build_net.bat
+:: Purpose : Building HDF5 with MSVS .NET
+:: Written By: Fang GUO
+:: Date : May 27, 2005
+:: Update : June 7, 2005
+
+:: There are 2 options for this batch file:
+:: 1. hdf5build_net -- Build HDF5 tools and c library
+:: 2. hdf5build_net enablecpp -- Build HDF5 tools and c/c++ library
+@echo off
+
+if "%1"=="/?" GOTO HELP
+if not %1.==. (
+ if not "%1"=="/?" (
+ if not "%1"=="enablecpp" goto WRONG
+ )
+)
+
+call convert_to_vcproj
+type nul > build_results_net.txt
+type nul > all_debug.log
+type nul >all_release.log
+echo ***************************************************************************** >> build_results_net.txt
+echo Build H5Tinit.exe >> build_results_net.txt
+echo ***************************************************************************** >> build_results_net.txt
+
+cd windows\misc\typegen
+devenv typegen.sln /rebuild Debug /project h5tinit /out ..\..\..\h5tinit.log
+cd ..\..\..\
+more h5tinit.log >> build_results_net.txt
+del h5tinit.log
+
+cd src
+h5tinit.exe > h5tinit.c
+cd ..\
+
+
+@ECHO OFF
+if %1.==. GOTO BUILDC
+if %1==enablecpp GOTO BUILDCPP
+
+:BUILDC
+
+echo ***************************************************************************** >> build_results_net.txt
+echo Build HDF5 C Library and Tools >> build_results_net.txt
+echo ***************************************************************************** >> build_results_net.txt
+
+echo Starting Building HDF5 C Libraries!
+
+cd windows\proj\all
+devenv all.sln /rebuild debug >> ..\..\..\all_debug.log
+devenv all.sln /rebuild release >> ..\..\..\all_release.log
+cd ..\..\..\
+more all_debug.log >> build_results_net.txt
+more all_release.log >> build_results_net.txt
+del all_debug.log
+del all_release.log
+GOTO END
+
+:BUILDCPP
+echo ***************************************************************************** >> build_results_net.txt
+echo Build HDF5 C/C++ Libraries and Tools >> build_results_net.txt
+echo ***************************************************************************** >> build_results_net.txt
+
+echo Starting Building HDF5 C and C++ Libraries!
+
+cd windows\proj\all
+devenv all.sln /rebuild debug >> ..\..\..\all_debug.log
+for %%i in (hdf5_cpp hdf5_hl_cpp testhdf5_cpp dsets_cpp hl_test_table_cpp) do (
+devenv all.sln /build debug /project %%i >>..\..\..\all_debug.log
+devenv all.sln /build debug /project %%idll >>..\..\..\all_debug.log
+)
+
+devenv all.sln /rebuild release >> ..\..\..\all_release.log
+for %%i in (hdf5_cpp hdf5_hl_cpp testhdf5_cpp dsets_cpp hl_test_table_cpp) do (
+devenv all.sln /build release /project %%i >>..\..\..\all_release.log
+devenv all.sln /build release /project %%idll >>..\..\..\all_release.log
+
+)
+
+cd ..\..\..\
+
+more all_debug.log >> build_results_net.txt
+more all_release.log >> build_results_net.txt
+del all_debug.log
+del all_release.log
+GOTO END
+
+:WRONG
+echo.
+echo. The syntax of the command is incorrect.
+
+:HELP
+echo.
+echo Please use one of the following options!
+echo.
+echo. hdf5build_net Build HDF5 C Library and Tools
+echo. hdf5build_net enablecpp Build HDF5 C/C++ Libraries and Tools
+echo. hdf5build /? Help information
+echo.
+:END
|