|
1 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 # All rights reserved. |
|
3 # This component and the accompanying materials are made available |
|
4 # under the terms of "Eclipse Public License v1.0" |
|
5 # which accompanies this distribution, and is available |
|
6 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 # Initial Contributors: |
|
8 # Nokia Corporation - initial contribution. |
|
9 # Contributors: |
|
10 # Description: controlpanel project - common qmake settings |
|
11 CONFIG += debug_and_release |
|
12 |
|
13 # On win32 and mac, debug and release libraries are named differently. |
|
14 # We must follow the debug and release settings Qt was compiled with: |
|
15 # build debug iff Qt built debug, build release iff Qt built release. |
|
16 win32|mac:!contains(QT_CONFIG,debug)|!contains(QT_CONFIG,release) { |
|
17 CONFIG -= debug_and_release \ |
|
18 debug \ |
|
19 release |
|
20 contains(QT_CONFIG,debug):CONFIG += debug |
|
21 contains(QT_CONFIG,release):CONFIG += release |
|
22 } |
|
23 CONFIG(debug, debug|release):SUBDIRPART = debug |
|
24 else:SUBDIRPART = release |
|
25 |
|
26 # Add the output dirs to the link path too |
|
27 LIBS += -L$$DESTDIR |
|
28 MOC_DIR = moc |
|
29 OBJECT_DIR = obj |
|
30 RCC_DIR = rcc |
|
31 |
|
32 # For some reason the default include path doesn't include MOC_DIR on symbian |
|
33 symbian { |
|
34 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE |
|
35 INCLUDEPATH += $$MW_LAYER_PLATFORM_EXPORT_PATH(cplogger) |
|
36 INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE |
|
37 INCLUDEPATH += $$MOC_DIR |
|
38 TARGET.CAPABILITY = ALL \ |
|
39 -TCB |
|
40 TARGET.EPOCALLOWDLLDATA = 1 |
|
41 } |
|
42 INCLUDEPATH += $$PWD/inc |
|
43 |