srctools/cmaker/src/cmaker.cmd
changeset 1 be27ed110b50
child 598 0a541d1f13c3
equal deleted inserted replaced
0:044383f39525 1:be27ed110b50
       
     1 @echo off
       
     2 REM 
       
     3 REM Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     4 REM All rights reserved.
       
     5 REM This component and the accompanying materials are made available
       
     6 REM under the terms of the License "Symbian Foundation License v1.0"
       
     7 REM which accompanies this distribution, and is available
       
     8 REM at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     9 REM 
       
    10 REM Initial Contributors:
       
    11 REM Nokia Corporation - initial contribution.
       
    12 REM 
       
    13 REM Contributors:
       
    14 REM 
       
    15 REM Description:
       
    16 REM cmaker windows batch file.
       
    17 REM 
       
    18 
       
    19 
       
    20 setlocal
       
    21 set MAKEFILES=/epoc32/tools/cmaker/tools.mk
       
    22 if "%PERL%"==""             set PERL=perl
       
    23 if "%CMAKER_DIR%"==""       set CMAKER_DIR=%~dp0
       
    24 set CMAKER_MAKECMD=/epoc32/tools/rom/mingw_make.exe -R --no-print-directory -I /epoc32/tools/cmaker %*
       
    25 
       
    26 REM The script call itself with perl
       
    27 %PERL% -x -S %~f0
       
    28 endlocal
       
    29 exit /b %errorlevel%
       
    30 
       
    31 #!perl
       
    32 my $begin=time();
       
    33 system($ENV{CMAKER_MAKECMD});
       
    34 my $end=time();
       
    35 print "Duration: ".($end-$begin)." seconds\n";
       
    36 
       
    37 __END__
       
    38