summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFang Guo <fangguo@ncsa.uiuc.edu>2006-03-07 19:58:15 (GMT)
committerFang Guo <fangguo@ncsa.uiuc.edu>2006-03-07 19:58:15 (GMT)
commit44c3748cf81ccb08095253a3006fd223c98d9be9 (patch)
tree08d5ddfa2ea892fab64b073700eff4729bdc86fc
parent8199e183e5ce7ed530337a038dda7c75fd0ef490 (diff)
downloadhdf5-44c3748cf81ccb08095253a3006fd223c98d9be9.zip
hdf5-44c3748cf81ccb08095253a3006fd223c98d9be9.tar.gz
hdf5-44c3748cf81ccb08095253a3006fd223c98d9be9.tar.bz2
[svn-r12032] Purpose:
Maintenance on Windows Description: Batch file improvement Solution: Platforms tested: Windows XP Misc. update:
-rwxr-xr-xwindows/install_hlcexamples.BAT38
1 files changed, 7 insertions, 31 deletions
diff --git a/windows/install_hlcexamples.BAT b/windows/install_hlcexamples.BAT
index ade727a..cfc78b4 100755
--- a/windows/install_hlcexamples.BAT
+++ b/windows/install_hlcexamples.BAT
@@ -16,7 +16,7 @@
@:: Examples' executable files.
@:: Written by : Fang GUO
@:: Created on : 07/25/2005
-@:: Last Modified:
+@:: Last Modified: 03/08/2006
cd hl/examples
@@ -25,33 +25,9 @@ mkdir HLCexamplesRELEASEDLL
mkdir HLCexamplesDEBUG
mkdir HLCexamplesDEBUGDLL
-cd ex_images
-copy debug\ex_images.exe ..\HLCexamplesDEBUG\
-copy release\ex_images.exe ..\HLCexamplesRELEASE\
-cd ..
-
-cd ex_imagesdll
-copy debug\ex_imagesdll.exe ..\HLCexamplesDEBUGDLL\
-copy release\ex_imagesdll.exe ..\HLCexamplesRELEASEDLL\
-cd ..
-
-cd ex_lite
-copy debug\ex_lite.exe ..\HLCexamplesDEBUG\
-copy release\ex_lite.exe ..\HLCexamplesRELEASE\
-cd ..
-
-cd ex_litedll
-copy debug\ex_litedll.exe ..\HLCexamplesDEBUGDLL\
-copy release\ex_litedll.exe ..\HLCexamplesRELEASEDLL\
-cd ..
-
-
-cd ex_table
-copy debug\ex_table.exe ..\HLCexamplesDEBUG\
-copy release\ex_table.exe ..\HLCexamplesRELEASE\
-cd ..
-
-cd ex_tabledll
-copy debug\ex_tabledll.exe ..\HLCexamplesDEBUGDLL\
-copy release\ex_tabledll.exe ..\HLCexamplesRELEASEDLL\
-cd ..
+for %%i in (images lite table ds packet) do (
+copy ex_%%i\debug\ex_%%i.exe HLCexamplesDEBUG\
+copy ex_%%i\release\ex_%%i.exe HLCexamplesRELEASE\
+copy ex_%%idll\debug\ex_%%idll.exe HLCexamplesDEBUGDLL\
+copy ex_%%idll\release\ex_%%idll.exe HLCexamplesRELEASEDLL\
+)