From 44c3748cf81ccb08095253a3006fd223c98d9be9 Mon Sep 17 00:00:00 2001 From: Fang Guo Date: Tue, 7 Mar 2006 14:58:15 -0500 Subject: [svn-r12032] Purpose: Maintenance on Windows Description: Batch file improvement Solution: Platforms tested: Windows XP Misc. update: --- windows/install_hlcexamples.BAT | 38 +++++++------------------------------- 1 file 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\ +) -- cgit v0.12