version 1.1, 2004/05/04 23:23:28
|
version 1.2, 2004/05/21 01:39:19
|
|
|
if not defined PEGASUS_HOME goto ERR_NO_PEGASUS_HOME | if not defined PEGASUS_HOME goto ERR_NO_PEGASUS_HOME |
| |
REM *********************************************************** | REM *********************************************************** |
|
REM Add %PEGASUS_HOME%\bin to the PATH (needed for tests, etc.) |
|
REM *********************************************************** |
|
set PATH=%PEGASUS_HOME%\bin;%PATH% |
|
|
|
REM *********************************************************** |
REM Process command line args | REM Process command line args |
REM | REM |
REM Valid args are (NOT case-sensitive): | REM Valid args are (NOT case-sensitive): |
|
|
:ARG_SSL | :ARG_SSL |
set PEGASUS_HAS_SSL=Yes | set PEGASUS_HAS_SSL=Yes |
if not defined OPENSSL_HOME goto ERR_NO_OPENSSL_HOME | if not defined OPENSSL_HOME goto ERR_NO_OPENSSL_HOME |
|
set PATH=%OPENSSL_HOME%\bin;%PATH% |
goto NEXT_ARG | goto NEXT_ARG |
| |
:ARG_NOSSL | :ARG_NOSSL |
|
|
echo "=======================================" | echo "=======================================" |
echo "Building the Pegasus core lib's & app's" | echo "Building the Pegasus core lib's & app's" |
echo "=======================================" | echo "=======================================" |
|
REM NOTE: Remove "rebuild" from the make command, below, |
|
REM for a simpler build of Pegasus (build new/updated |
|
REM files/dependencies only, no repository & no tests) |
make rebuild | make rebuild |
|
|
|
REM NOTE: Comment-out the following line to ignore Pegasus |
|
REM build/test errors, and go on to build the Mapper: |
if %errorlevel% NEQ 0 goto ERR_BUILD_FAILED | if %errorlevel% NEQ 0 goto ERR_BUILD_FAILED |
| |
REM *********************************************************** | REM *********************************************************** |