radioapp/radioapplication/radioapplication.pro
changeset 24 6df133bd92e1
child 28 075425b8d9a4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/radioapp/radioapplication/radioapplication.pro	Fri Jun 04 10:21:36 2010 +0100
@@ -0,0 +1,66 @@
+#
+# 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 "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:
+#
+
+include(../buildflags.pri)
+
+TEMPLATE        = app
+TARGET          = qtfmradio
+TRANSLATIONS    += fmradio.ts 
+
+symbian: {
+    TARGET.CAPABILITY       = CAP_APPLICATION MultimediaDD
+    TARGET.VID              = VID_DEFAULT
+    TARGET.UID3             = 0x101FF976 # Old visual radio uid
+    TARGET.EPOCSTACKSIZE    = 0x14000
+    TARGET.EPOCHEAPSIZE     = 0x020000 0x2400000
+}
+
+CONFIG      += hb service
+
+# Service provider specific configuration.
+SERVICE.FILE = resources/service_conf.xml
+
+INCLUDEPATH += . inc
+INCLUDEPATH += ../commoninc
+INCLUDEPATH += ../radiouiengine/inc
+INCLUDEPATH += ../radiowidgets/inc
+
+LIBS        += -lradiouiengine
+LIBS        += -lradiowidgets
+
+# UI does not normally depend on the wrapper, but it does on two special cases
+# 1. Logging is enabled. The logger is in the wrapper module
+# 2. Radio is built for win32 target. The test window needs to access the wrapper
+LOGGING_ENABLED:LIBS += -lradioenginewrapper
+
+# Sources
+HEADERS     += radioapplication.h
+
+SOURCES     += main.cpp
+SOURCES     += radioapplication.cpp
+
+# Win32 specific stuff
+win32: {
+    LIBS += -lradioenginewrapper
+
+    HEADERS += testwindow_win32.h
+
+    SOURCES += testwindow_win32.cpp
+
+    DEFINES += HB_RESOURCES_DIR=\"\\\"$${HB_RESOURCES_DIR}\\\"\"
+}
+
+DEPENDPATH  += $$INCLUDEPATH src