summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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\
+)