29 lines
374 B
Batchfile
29 lines
374 B
Batchfile
@echo off
|
|
|
|
if "%1" == "" goto usage
|
|
if not exist "%1\bin\setenv.bat" goto ddkfilenotfound
|
|
|
|
call %1\bin\setenv.bat %1 %2
|
|
|
|
set DDKBUILD=1
|
|
color 71
|
|
title DDK build %1 %2
|
|
|
|
goto finish
|
|
|
|
:ddkfilenotfound
|
|
echo.
|
|
echo File %1\bin\setenv.bat not found - make sure %1 is the correct DDK path
|
|
echo.
|
|
|
|
goto finish
|
|
|
|
:usage
|
|
echo.
|
|
echo Usage: ddkbuild ^<DDKPATH^> [checked]
|
|
echo.
|
|
|
|
:finish
|
|
|
|
|