mmtestenv/mmtesttools/Build/mmbuild.bat
changeset 0 40261b775718
equal deleted inserted replaced
-1:000000000000 0:40261b775718
       
     1 rem Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 rem All rights reserved.
       
     3 rem This component and the accompanying materials are made available
       
     4 rem under the terms of "Eclipse Public License v1.0"
       
     5 rem which accompanies this distribution, and is available
       
     6 rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 rem
       
     8 rem Initial Contributors:
       
     9 rem Nokia Corporation - initial contribution.
       
    10 rem
       
    11 rem Contributors:
       
    12 rem
       
    13 rem Description:
       
    14 rem
       
    15 
       
    16 SETLOCAL
       
    17 SET __PYTHON__=%SBS_HOME%\win32\python252\python.exe
       
    18 
       
    19 REM Checking for __PYTHON__ existing is actually a double check that SBS_HOME is defined and it points
       
    20 REM to something that looks like raptor installation. We piggy back onto the python that comes with raptor.
       
    21 IF NOT EXIST %__PYTHON__% GOTO fallbacktoperl
       
    22 
       
    23 %__PYTHON__% buildutils\mmbuild2.py %1 %2 %3 %4 %5 %6 %7 %8 %9
       
    24 
       
    25 goto end
       
    26 
       
    27 :fallbacktoperl
       
    28 REM the old mmbuild script - intended now for use only if raptor is not installed
       
    29 perl -S mmbuild.pl %1 %2 %3 %4 %5 %6 %7 %8 %9
       
    30 
       
    31 :end