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 QT += testlib |
|
18 |
|
19 TEMPLATE = app |
|
20 TARGET = t_wlanqtutils |
|
21 |
|
22 TARGET.CAPABILITY = ALL -TCB |
|
23 |
|
24 DEPENDPATH += . |
|
25 |
|
26 #Store generated .moc files to their own directory |
|
27 MOC_DIR = moc |
|
28 |
|
29 #BUILD_DLL macro is used to define export macro |
|
30 DEFINES += BUILD_WLANQTUTILITIES_DLL |
|
31 |
|
32 #Following macros MW_LAYER_SYSTEMINCLUDE and OS_LAYER_SYSTEMINCLUDE are defined |
|
33 #in X:\QT\mkspecs\features\symbian\platform_paths.prf that is always inluded in |
|
34 #QT compilation |
|
35 |
|
36 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE \ |
|
37 $$OS_LAYER_SYSTEMINCLUDE \ |
|
38 . \ |
|
39 ../../base/inc \ |
|
40 ../../wrapper/inc \ |
|
41 ../../traces \ |
|
42 /epoc32/include/domain/osextensions |
|
43 |
|
44 # Input |
|
45 HEADERS += testwlanqtutils.h \ |
|
46 ../context/wlanqtutilstestcontext.h \ |
|
47 ../../base/inc/wlanqtutils.h \ |
|
48 ../../base/inc/wlanqtutils_p.h \ |
|
49 ../../base/inc/wlanqtutilsiap.h \ |
|
50 ../../base/inc/wlanqtutilswlaniap.h \ |
|
51 ../../base/inc/wlanqtutilswlanap.h \ |
|
52 ../../base/inc/wlanqtutilsactiveconn.h \ |
|
53 ../../wrapper/inc/wlanqtutilscmmwrapper.h \ |
|
54 ../../wrapper/inc/wlanqtutilsconmonwrapper.h \ |
|
55 ../../wrapper/inc/wlanqtutilsconntestwrapper.h \ |
|
56 ../../wrapper/inc/wlanqtutilsesockwrapper.h \ |
|
57 ../../traces/OstTraceDefinitions.h |
|
58 |
|
59 SOURCES += testwlanqtutils.cpp \ |
|
60 ../context/wlanqtutilstestcontext.cpp \ |
|
61 ../../base/src/wlanqtutils.cpp \ |
|
62 ../../base/src/wlanqtutils_p.cpp \ |
|
63 ../../base/src/wlanqtutilsiap.cpp \ |
|
64 ../../base/src/wlanqtutilswlaniap.cpp \ |
|
65 ../../base/src/wlanqtutilswlanap.cpp \ |
|
66 ../../base/src/wlanqtutilsactiveconn.cpp \ |
|
67 ../../wrapper/src/wlanqtutilscmmwrapper.cpp \ |
|
68 ../../wrapper/src/wlanqtutilsconmonwrapper.cpp \ |
|
69 ../../wrapper/src/wlanqtutilsconntestwrapper.cpp \ |
|
70 ../../wrapper/src/wlanqtutilsesockwrapper.cpp |
|
71 |
|
72 symbian: { |
|
73 HEADERS += ../../wrapper/inc/wlanqtutilscmmwrapper_s60_p.h \ |
|
74 ../../wrapper/inc/wlanqtutilsconmonwrapper_s60_p.h \ |
|
75 ../../wrapper/inc/wlanqtutilsconntestwrapper_s60_p.h \ |
|
76 ../../wrapper/inc/wlanqtutilsesockwrapper_s60_p.h |
|
77 |
|
78 SOURCES += ../../wrapper/src/wlanqtutilscmmwrapper_s60.cpp \ |
|
79 ../../wrapper/src/wlanqtutilsconmonwrapper_s60.cpp \ |
|
80 ../../wrapper/src/wlanqtutilsconntestwrapper_s60.cpp \ |
|
81 ../../wrapper/src/wlanqtutilsesockwrapper_s60.cpp \ |
|
82 ../stubs/wlanqtutilsconnmonstub.cpp \ |
|
83 ../stubs/wlanqtutilsconnteststub.cpp \ |
|
84 ../stubs/wlanqtutilsesockstub.cpp |
|
85 } |
|
86 |
|
87 LIBS += -lcmmanager -lconnmon -lcommdb -lesock -lictsclientinterface |
|
88 |
|
89 #UT flag is set |
|
90 DEFINES += WLANQTUTILS_T_WLANQTUTILS_UT_FLAG |
|
91 |
|
92 coverage_test: { |
|
93 message(*** Coverage test mode build - no OST traces.) |
|
94 #NO_OST_TRACES flag is set |
|
95 DEFINES += WLANQTUTILS_NO_OST_TRACES_FLAG 'Q_ASSERT(test)=' |
|
96 } |
|
97 else { |
|
98 message(*** Normal Symbian-mode build.) |
|
99 } |
|