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