23 lines
725 B
Batchfile
23 lines
725 B
Batchfile
|
SETLOCAL
|
||
|
|
||
|
set DOIT_DEBUG=FREE
|
||
|
|
||
|
if "%1"=="DEBUG" set DOIT_DEBUG=CHECKED
|
||
|
if "%DOIT_DEFPATH%" == "" set DOIT_DEFPATH=\\blues\public\johnyg\nt\mcivisca
|
||
|
if "%PROCESSOR_ARCHITECTURE%" == "x86" set DOIT_ARCH=i386
|
||
|
if NOT "%PROCESSOR_ARCHITECTURE%" == "x86" set DOIT_ARCH=%PROCESSOR_ARCHITECTURE%
|
||
|
|
||
|
if NOT EXIST "%DOIT_DEFPATH%" mkdir %DOIT_DEFPATH%
|
||
|
if NOT EXIST "%DOIT_DEFPATH%\%DOIT_DEBUG%" mkdir %DOIT_DEFPATH%\%DOIT_DEBUG%
|
||
|
if "%DOIT_DESTPATH%" == "" set DOIT_DESTPATH=%DOIT_DEFPATH%\%DOIT_DEBUG%\%DOIT_ARCH%
|
||
|
if NOT EXIST "%DOIT_DESTPATH%" mkdir %DOIT_DESTPATH%
|
||
|
|
||
|
copy mcivisca\obj\%DOIT_ARCH%\mcivis32.dll %DOIT_DESTPATH%
|
||
|
copy msmcivcr\obj\%DOIT_ARCH%\msmcivcr.exe %DOIT_DESTPATH%
|
||
|
copy oemsetup.inf %DOIT_DESTPATH%
|
||
|
|
||
|
:end
|
||
|
|
||
|
ENDLOCAL
|
||
|
|