m3g/m3gcore11/group/m3g.mmp
author Gareth Stockwell <gareth.stockwell@accenture.com>
Fri, 05 Nov 2010 17:31:20 +0000 (2010-11-05)
branchbug235_bringup_0
changeset 215 097e92a68d68
parent 26 15986eb6c500
permissions -rw-r--r--
Added GLES 1.x spinning cube-rendering code to eglbringuptest The coordinate, color and index data are uploaded to server-side buffers by the CGLES1Cube::KhrSetup function. CGLES1Cube::KhrPaint just sets the view matrix and issues a draw command. Which demo to display can be selected by passing its name on the command line, e.g. eglbringuptest vgline eglbringuptest gles1cube If no name is provided, the application defaults to vgline.
/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: Symbian project definition file
*
*/
#include <platform_paths.hrh>

TARGET          m3gcore.dll
TARGETTYPE      dll
UID             0x1000008D 0x101F87E1

MACRO           M3G_TARGET_SYMBIAN
MACRO           M3G_BUILD_DLL

CAPABILITY      CAP_GENERAL_DLL

// Modify default options to optimize for speed over size in this module.
OPTION ARMCC -O3 -Otime
ALWAYS_BUILD_AS_ARM

// Uncomment the following flags to enable ARMv6 and/or VFP optimizations.
#define __ARMV6_SUPPORT
#define __VFPV2_SUPPORT

#ifdef ARMCC
#ifdef __ARMV6_SUPPORT
MACRO			M3G_HW_ARMV6
OPTION_REPLACE ARMCC --cpu 6
#endif

#ifdef	__VFPV2_SUPPORT
MACRO			M3G_HW_FLOAT
MACRO			M3G_HW_FLOAT_VFPV2
OPTION_REPLACE ARMCC --fpu softvfp+vfpv2 --fpmode fast
#endif
#endif


#if defined(UDEB)
MACRO           M3G_DEBUG
#endif

SOURCEPATH      ../src

SOURCE          m3g_core.c
SOURCE          m3g_symbian.cpp
SOURCE          m3g_symbian_gl.cpp

USERINCLUDE     ../inc

// This is a SYSTEMINCLUDE macro containing the OS
// layer specific include directories
OS_LAYER_SYSTEMINCLUDE

SYSTEMINCLUDE   /epoc32/include/libc
SYSTEMINCLUDE   ../../../inc
SYSTEMINCLUDE   ../../inc

LIBRARY         euser.lib estlib.lib fbscli.lib
LIBRARY         efsrv.lib ws32.lib
LIBRARY         libGLESv1_CM.lib ezlib.lib libEGL.lib

SMPSAFE