summaryrefslogtreecommitdiffstats
path: root/windows/batch_intelc
diff options
context:
space:
mode:
authorFang Guo <fangguo@ncsa.uiuc.edu>2006-02-28 18:51:39 (GMT)
committerFang Guo <fangguo@ncsa.uiuc.edu>2006-02-28 18:51:39 (GMT)
commitd03c3e9358c07a155b9305a2e211e3701bceedce (patch)
treee1ccf9758e3f3737ee636fcf5f6f7853805bea5e /windows/batch_intelc
parentf31875592a8b271071cc6805ff7552f72e008244 (diff)
downloadhdf5-d03c3e9358c07a155b9305a2e211e3701bceedce.zip
hdf5-d03c3e9358c07a155b9305a2e211e3701bceedce.tar.gz
hdf5-d03c3e9358c07a155b9305a2e211e3701bceedce.tar.bz2
[svn-r11986] Purpose:
Batch file improvement Description: Solution: Platforms tested: Misc. update:
Diffstat (limited to 'windows/batch_intelc')
-rwxr-xr-xwindows/batch_intelc/convert_to_icproj.BAT219
-rwxr-xr-xwindows/batch_intelc/hdf5build_intelc.BAT95
2 files changed, 46 insertions, 268 deletions
diff --git a/windows/batch_intelc/convert_to_icproj.BAT b/windows/batch_intelc/convert_to_icproj.BAT
index c4e1650..18049c4 100755
--- a/windows/batch_intelc/convert_to_icproj.BAT
+++ b/windows/batch_intelc/convert_to_icproj.BAT
@@ -17,221 +17,28 @@
@REM Date: May 27, 2005
@REM Update: June 7, 2005
@REM Purpose: Convert Visual C++ 7.0 project format to Intel C++ project format
-@REM There are 2 options for this batch file:
-@REM 1. convert_to_icproj -- Convert only C project files
-@REM 2. convert_to_icproj enablecpp -- Convert C and C++ project files
-
-@ECHO OFF
-if %1.==. GOTO convertC
-if "%1"=="/?" GOTO HELP
-if %1==enablecpp GOTO convertCPP
-GOTO WRONG
-
-:convertC
+::@ECHO OFF
type nul >convert_intel.log
echo.
-echo Converting project files in directory windows\proj
-echo.
-
-
- ICProjConvert80 windows\proj\hdf5\hdf5.vcproj /IC >> convert_intel.log
- ICProjConvert80 windows\proj\hdf5dll\hdf5dll.vcproj /IC >> convert_intel.log
- ICProjConvert80 windows\proj\hdf5_hl\hdf5_hl.vcproj /IC >> convert_intel.log
- ICProjConvert80 windows\proj\hdf5_hldll\hdf5_hldll.vcproj /IC >> convert_intel.log
-
-
-
-echo.
-echo Converting project files in directory windows\test
-echo.
-
-
-ICProjConvert80 windows\test\big\big.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\bigdll\bigdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\bittests\bittests.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\bittestsdll\bittestsdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\blocktrack\blocktrack.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\blocktrackdll\blocktrackdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\btree2\btree2.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\btree2dll\btree2dll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\b_plus_tree\b_plus_tree.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\b_plus_treedll\b_plus_treedll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\cache\cache.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\cachedll\cachedll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\cache_api\cache_api.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\cache_apidll\cache_apidll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\chunk\chunk.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\chunkdll\chunkdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\cmpd_dset\cmpd_dset.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\cmpd_dsetdll\cmpd_dsetdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\dangle\dangle.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\dangledll\dangledll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\dt_arith\dt_arith.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\dt_arithdll\dt_arithdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\dsets\dsets.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\dsetsdll\dsetsdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\dtransform\dtransform.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\dtransformdll\dtransformdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\dtypes\dtypes.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\dtypesdll\dtypesdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\enum\enum.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\enumdll\enumdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\extend\extend.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\extenddll\extenddll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\external\external.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\externaldll\externaldll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\objcopy\objcopy.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\objcopydll\objcopydll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\file_handle\file_handle.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\file_handledll\file_handledll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\filename\filename.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\filenamedll\filenamedll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\fillval\fillval.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\fillvaldll\fillvaldll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\flush1\flush1.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\flush1dll\flush1dll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\flush2\flush2.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\flush2dll\flush2dll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\getname\getname.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\getnamedll\getnamedll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\getub\getub.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\gheap\gheap.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\gheapdll\gheapdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\hyperslab\hyperslab.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\hyperslabdll\hyperslabdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\iopipe\iopipe.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\iopipedll\iopipedll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\istore\istore.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\istoredll\istoredll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\lheap\lheap.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\lheapdll\lheapdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\libtest\libtest.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\libtestD\libtestD.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\links\links.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\linksdll\linksdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\mount\mount.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\mountdll\mountdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\mtime\mtime.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\mtimedll\mtimedll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\ntypes\ntypes.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\ntypesdll\ntypesdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\ohdr\ohdr.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\ohdrdll\ohdrdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\overhead\overhead.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\overheaddll\overheaddll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\pool\pool.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\pooldll\pooldll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\reserved\reserved.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\reserveddll\reserveddll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\set_extent\set_extent.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\set_extentdll\set_extentdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\sheap\sheap.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\sheapdll\sheapdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\stab\stab.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\stabdll\stabdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\tellub\tellub.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\testhdf5\testhdf5.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\testhdf5dll\testhdf5dll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\unlink\unlink.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\test\unlinkdll\unlinkdll.vcproj /IC >> convert_intel.log
-
-echo.
-echo Converting project files under windows\hl\test
-echo.
-
- ICProjConvert80 windows\hl\test\hl_test_image\hl_test_image.vcproj /IC >> convert_intel.log
- ICProjConvert80 windows\hl\test\hl_test_lite\hl_test_lite.vcproj /IC >> convert_intel.log
- ICProjConvert80 windows\hl\test\hl_test_table\hl_test_table.vcproj /IC >> convert_intel.log
- ICProjConvert80 windows\hl\test\hl_test_ds\hl_test_ds.vcproj /IC >> convert_intel.log
- ICProjConvert80 windows\hl\test\hl_test_packet\hl_test_packet.vcproj /IC >> convert_intel.log
-
- ICProjConvert80 windows\hl\test\hl_test_imagedll\hl_test_imagedll.vcproj /IC >> convert_intel.log
- ICProjConvert80 windows\hl\test\hl_test_litedll\hl_test_litedll.vcproj /IC >> convert_intel.log
- ICProjConvert80 windows\hl\test\hl_test_tabledll\hl_test_tabledll.vcproj /IC >> convert_intel.log
- ICProjConvert80 windows\hl\test\hl_test_dsdll\hl_test_dsdll.vcproj /IC >> convert_intel.log
- ICProjConvert80 windows\hl\test\hl_test_packetdll\hl_test_packetdll.vcproj /IC >> convert_intel.log
-
-echo.
-echo Converting project files under directory windows\tools
-echo.
-
-ICProjConvert80 windows\tools\gifconvdll\gif2h5dll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\gifconvdll\h52gifdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\h5diffdll\h5diffdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\h5debug\h5debug.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\h5debugdll\h5debugdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\h5dumpdll\h5dumpdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\gifconv\gif2h5.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\h5diffdll\h5diffdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\h5repackdll\h5repackdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\gifconv\h52gif.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\h5diff\h5diff.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\h5ls\h5ls.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\h5lsdll\h5lsdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\h5dump\h5dump.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\h5repack\h5repack.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\h5stat\h5stat.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\h5statdll\h5statdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\h5unjam\h5unjam.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\h5repart\h5repart.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\talign\talign.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\h5repartdll\h5repartdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\h5import\h5import.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\h5importdll\h5importdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\taligndll\taligndll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\h5jam\h5jam.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\testfiles\h5difftst\h5difftst.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\testfiles\h5dumptst\h5dumptst.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\testfiles\h5importtst\h5importtst.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\testfiles\h5jamtst\h5jamtst.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\testfiles\h5repacktst\h5repacktst.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\testfiles\h5repart_gentest\h5repart_gentest.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\testfiles\h5reparttst\h5reparttst.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\testfiles\testh5repack_detect_szip\testh5repack_detect_szip.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\testfiles\testh5repack_detect_szipdll\testh5repack_detect_szipdll.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\toolslib\toolslib.vcproj /IC >> convert_intel.log
-ICProjConvert80 windows\tools\toolslibD\toolslibD.vcproj /IC >> convert_intel.log
-
-echo End converting C project Files
-GOTO END
-:convertCPP
-echo **************************************************
-echo.
-echo Converting C++ project files in directory windows\proj
+echo START Converting files in .vcproj to .icproj
echo.
+::Clean up if .icproj exists
+for /R %CD%\windows\ %%i in (*.icproj) do (
+del %%i
+)
- ICProjConvert80 windows\proj\hdf5_cpp\hdf5_cpp.vcproj /IC >> convert_intel.log
- ICProjConvert80 windows\proj\hdf5_cppdll\hdf5_cppdll.vcproj /IC >> convert_intel.log
- ICProjConvert80 windows\proj\hdf5_hl_cpp\hdf5_hl_cpp.vcproj /IC >> convert_intel.log
- ICProjConvert80 windows\proj\hdf5_hl_cppdll\hdf5_hl_cppdll.vcproj /IC >> convert_intel.log
- ICProjConvert80 "windows\c++\test\dsets_cpp\dsets_cpp.vcproj" /IC >> convert_intel.log
- ICProjConvert80 "windows\c++\test\dsets_cppdll\dsets_cppdll.vcproj" /IC >> convert_intel.log
- ICProjConvert80 "windows\c++\test\testhdf5_cpp\testhdf5_cpp.vcproj" /IC >> convert_intel.log
- ICProjConvert80 "windows\c++\test\testhdf5_cppdll\testhdf5_cppdll.vcproj" /IC >> convert_intel.log
- ICProjConvert80 "windows\hl\c++\test\hl_test_table_cpp\hl_test_table_cpp.vcproj" /IC >> convert_intel.log
- ICProjConvert80 "windows\hl\c++\test\hl_test_table_cppdll\hl_test_table_cppdll.vcproj" /IC >> convert_intel.log
echo.
-echo End converting C++ project Files
+echo START Converting files in .vcproj to .icproj
echo.
-echo Start Building HDF5 C and C++ libraries ...
-GOTO END
-:HELP
-echo There are 2 options for this batch file:
-echo 1. convert_to_icproj -- Convert only C project files
-echo 2. convert_to_icproj enablecpp -- Convert C and C++ project files
-GOTO END
+::Start Converting
+for /R %CD%\windows %%i in (*.vcproj) do (
+ICProjConvert80 %%i /IC >>convert_intel.log
+)
-:WRONG
-
-echo The syntax of the command is incorrect.
echo.
-echo Using the command in the following format:
-echo 1. convert_to_icproj -- Convert only C project files
-echo 2. convert_to_icproj enablecpp -- Convert C and C++ project files
-GOTO END
-
-:END
+echo END Converting files in .vcproj to .icproj
+echo. \ No newline at end of file
diff --git a/windows/batch_intelc/hdf5build_intelc.BAT b/windows/batch_intelc/hdf5build_intelc.BAT
index d820474..2653c55 100755
--- a/windows/batch_intelc/hdf5build_intelc.BAT
+++ b/windows/batch_intelc/hdf5build_intelc.BAT
@@ -22,41 +22,46 @@
@REM 2. hdf5build_intelc enablecpp -- Build HDF5 tools and c/c++ library
@echo off
-if %1.==. GOTO BUILDC
if "%1"=="/?" GOTO HELP
-if %1==enablecpp GOTO BUILDCPP
-GOTO WRONG
-
-:BUILDC
-
-call convert_to_icproj %1
+if not %1.==. (
+ if not "%1"=="/?" (
+ if not "%1"=="enablecpp" goto WRONG
+ )
+)
type nul > build_results_intelc.txt
type nul > all_debug.log
type nul > all_release.log
type nul > h5tinit.log
-echo Start Building HDF5 C libraries ...
+call convert_to_vcproj
+call convert_to_icproj
echo ***************************************************************************** >> build_results_intelc.txt
echo Build H5Tinit.exe >> build_results_intelc.txt
echo ***************************************************************************** >> build_results_intelc.txt
cd windows\misc\typegen
-ICProjConvert80 typegen.sln /IC >> ..\..\..\h5tinit.log
devenv typegen.sln /rebuild Debug /IntelSpecific Intel >> ..\..\..\h5tinit.log
cd ..\..\..\
more h5tinit.log >> build_results_intelc.txt
del h5tinit.log
+cd src
+h5tinit.exe > h5tinit.c
+cd ..\
+
+if %1.==. GOTO BUILDC
+if "%1"=="enablecpp" GOTO BUILDCPP
+
+:BUILDC
+
+echo Start Building HDF5 C libraries ...
echo ***************************************************************************** >> build_results_intelc.txt
echo Build HDF5 C Library and Tools >> build_results_intelc.txt
echo ***************************************************************************** >> build_results_intelc.txt
-cd src
-h5tinit.exe > h5tinit.c
-
-cd ..\windows\proj\all
+cd windows\proj\all
devenv all.sln /rebuild debug /IntelSpecific Intel >> ..\..\..\all_debug.log
devenv all.sln /rebuild release /IntelSpecific Intel >> ..\..\..\all_release.log
cd ..\..\..\
@@ -67,56 +72,24 @@ del all_release.log
GOTO END
:BUILDCPP
-call convert_to_icproj
-call convert_to_icproj %1
-
-type nul > build_results_intelc.txt
-type nul > all_debug.log
-type nul > all_release.log
-type nul > h5tinit.log
-
-echo ***************************************************************************** >> build_results_intelc.txt
-echo Build H5Tinit.exe >> build_results_intelc.txt
-echo ***************************************************************************** >> build_results_intelc.txt
-
-cd windows\misc\typegen
-ICProjConvert80 typegen.sln /IC >> ..\..\..\h5tinit.log
-devenv typegen.sln /rebuild Debug /IntelSpecific Intel >> ..\..\..\h5tinit.log
-cd ..\..\..\
-more h5tinit.log >> build_results_intelc.txt
-del h5tinit.log
echo ***************************************************************************** >> build_results_intelc.txt
echo Build HDF5 C/C++ Libraries and Tools >> build_results_intelc.txt
echo ***************************************************************************** >> build_results_intelc.txt
-cd src
-h5tinit.exe > h5tinit.c
-
-cd ..\windows\proj\all
+cd windows\proj\all
devenv all.sln /rebuild debug /IntelSpecific Intel >> ..\..\..\all_debug.log
-devenv all.sln /build debug /project hdf5_cppdll /IntelSpecific Intel >> ..\..\..\all_debug.log
-devenv all.sln /build debug /project hdf5_cpp /IntelSpecific Intel >> ..\..\..\all_debug.log
-devenv all.sln /build debug /project hdf5_hl_cpp /IntelSpecific Intel >> ..\..\..\all_debug.log
-devenv all.sln /build debug /project hdf5_hl_cppdll /IntelSpecific Intel >> ..\..\..\all_debug.log
-devenv all.sln /build debug /project testhdf5_cpp /IntelSpecific Intel >> ..\..\..\all_debug.log
-devenv all.sln /build debug /project testhdf5_cppdll /IntelSpecific Intel >> ..\..\..\all_debug.log
-devenv all.sln /build debug /project dsets_cpp /IntelSpecific Intel >> ..\..\..\all_debug.log
-devenv all.sln /build debug /project dsets_cppdll /IntelSpecific Intel >> ..\..\..\all_debug.log
-devenv all.sln /build debug /project hl_test_table_cpp /IntelSpecific Intel >> ..\..\..\all_debug.log
-devenv all.sln /build debug /project hl_test_table_cppdll /IntelSpecific Intel >> ..\..\..\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 /IntelSpecific Intel>>..\..\..\all_debug.log
+devenv all.sln /build debug /project %%idll /IntelSpecific Intel>>..\..\..\all_debug.log
+)
devenv all.sln /rebuild release /IntelSpecific Intel >> ..\..\..\all_release.log
-devenv all.sln /build release /project hdf5_cppdll /IntelSpecific Intel >>..\..\..\all_release.log
-devenv all.sln /build release /project hdf5_cpp /IntelSpecific Intel >>..\..\..\all_release.log
-devenv all.sln /build release /project hdf5_hl_cpp /IntelSpecific Intel >>..\..\..\all_release.log
-devenv all.sln /build release /project hdf5_hl_cppdll /IntelSpecific Intel >>..\..\..\all_release.log
-devenv all.sln /build release /project testhdf5_cpp /IntelSpecific Intel >>..\..\..\all_release.log
-devenv all.sln /build release /project testhdf5_cppdll /IntelSpecific Intel >>..\..\..\all_release.log
-devenv all.sln /build release /project dsets_cpp /IntelSpecific Intel >>..\..\..\all_release.log
-devenv all.sln /build release /project dsets_cppdll /IntelSpecific Intel >>..\..\..\all_release.log
-devenv all.sln /build release /project hl_test_table_cpp /IntelSpecific Intel >>..\..\..\all_release.log
-devenv all.sln /build release /project hl_test_table_cppdll /IntelSpecific Intel >>..\..\..\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 /IntelSpecific Intel>>..\..\..\all_release.log
+devenv all.sln /build release /project %%idll /IntelSpecific Intel>>..\..\..\all_release.log
+)
cd ..\..\..\
@@ -127,18 +100,16 @@ del all_release.log
GOTO END
:WRONG
-echo The syntax of the command is incorrect.
echo.
+echo. The syntax of the command is incorrect.
:HELP
-echo Builds HDF5 Libraries and Tools.
echo.
-echo hdf5build [OPTION]
+echo. Please use one of the following options!
echo.
-echo Please use one of the following options!
+echo. hdf5build_intelc Build HDF5 C Library and Tools
+echo. hdf5build_intelc enablecpp Build HDF5 C/C++ Libraries and Tools
+echo. hdf5build_intelc /? Help information
echo.
-echo hdf5build_intelc Build HDF5 C Library and Tools
-echo hdf5build_intelc enablecpp Build HDF5 C/C++ Libraries and Tools
-echo hdf5build_intelc /? Help information
:END