|
1 # |
|
2 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 # All rights reserved. |
|
4 # This component and the accompanying materials are made available |
|
5 # under the terms of "Eclipse Public License v1.0" |
|
6 # which accompanies this distribution, and is available |
|
7 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 # |
|
9 # Initial Contributors: |
|
10 # Nokia Corporation - initial contribution. |
|
11 # |
|
12 # Contributors: |
|
13 # |
|
14 # Description: |
|
15 # |
|
16 |
|
17 TEMPLATE = lib |
|
18 TARGET = cpprofilewrapper |
|
19 |
|
20 CONFIG += debug_and_release |
|
21 |
|
22 win32|mac { |
|
23 !contains(QT_CONFIG,debug)|!contains(QT_CONFIG,release) { |
|
24 CONFIG -= debug_and_release debug release |
|
25 contains(QT_CONFIG,debug): CONFIG+=debug |
|
26 contains(QT_CONFIG,release):CONFIG+=release |
|
27 } |
|
28 } |
|
29 |
|
30 CONFIG(debug, debug|release) { |
|
31 SUBDIRPART = debug |
|
32 } else { |
|
33 SUBDIRPART = release |
|
34 } |
|
35 |
|
36 win32 { |
|
37 DESTDIR = C:/ControlPanel/$$SUBDIRPART/bin |
|
38 OBJECTS_DIR = $$PWD/../$$SUBDIRPART/tmp/$$TARGET |
|
39 } |
|
40 |
|
41 # Add the output dirs to the link path too |
|
42 LIBS += -L$$DESTDIR |
|
43 |
|
44 MOC_DIR = moc |
|
45 OBJECT_DIR = obj |
|
46 RCC_DIR = rcc |
|
47 |
|
48 DEFINES += PROFILEWRAPPER_FREEZE |
|
49 |
|
50 |
|
51 HEADERS += ../inc/cpprofilemodel.h \ |
|
52 ../inc/cpprofilewrappermacro.h \ |
|
53 src/cpprofilemodel_p.h |
|
54 SOURCES += src/cpprofilemodel.cpp |
|
55 |
|
56 win32 { |
|
57 INCLUDEPATH += $$PWD/src |
|
58 INCLUDEPATH += ../inc |
|
59 SOURCES += src/cpprofilemodel_win_p.cpp |
|
60 } |
|
61 |
|
62 symbian { |
|
63 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE \ |
|
64 $$MOC_DIR |
|
65 |
|
66 SOURCES += src/cpprofilemodel_p.cpp |
|
67 |
|
68 LIBS += -lprofileeng \ |
|
69 -lcentralrepository \ |
|
70 -lcharconv |
|
71 TARGET.CAPABILITY = All -TCB |
|
72 TARGET.EPOCALLOWDLLDATA = 1 |
|
73 TARGET.UID3 = 0x20025FE6 |
|
74 } |
|
75 |
|
76 |