1 # |
|
2 # Copyright (c) 2009-2010 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 # Test library for WlanQtUtils class. |
|
16 # |
|
17 |
|
18 QT += testlib |
|
19 |
|
20 TEMPLATE = app |
|
21 TARGET = t_wlanqtutils |
|
22 |
|
23 TARGET.CAPABILITY = ALL -TCB |
|
24 |
|
25 DEPENDPATH += . |
|
26 |
|
27 #Store generated files to their own directory |
|
28 MOC_DIR = build |
|
29 |
|
30 # Temporary solution to fix tracecompiler |
|
31 # When tracecompiler is fixed, this can be removed |
|
32 symbian: { |
|
33 MMP_RULES += "USERINCLUDE traces" |
|
34 } |
|
35 |
|
36 # Stub headers must be used instead of real ones |
|
37 symbian { |
|
38 MMP_RULES += "USERINCLUDE stubs" |
|
39 } |
|
40 |
|
41 #BUILD_DLL macro is used to define export macro |
|
42 DEFINES += BUILD_WLANQTUTILITIES_DLL |
|
43 |
|
44 INCLUDEPATH += \ |
|
45 . \ |
|
46 stubs \ |
|
47 ../../inc \ |
|
48 ../base/inc \ |
|
49 ../wrapper/inc \ |
|
50 ../traces |
|
51 |
|
52 # Input |
|
53 HEADERS += \ |
|
54 testwlanqtutils.h \ |
|
55 context/wlanqtutilstestcontext.h \ |
|
56 ../base/inc/wlanqtutils.h \ |
|
57 ../base/inc/wlanqtutils_p.h \ |
|
58 ../base/inc/wlanqtutilsiap.h \ |
|
59 ../base/inc/wlanqtutilsiapsettings.h \ |
|
60 ../base/inc/wlanqtutilsap.h \ |
|
61 ../base/inc/wlanqtutilsconnection.h \ |
|
62 ../wrapper/inc/wlanqtutilsconmonwrapper.h \ |
|
63 ../wrapper/inc/wlanqtutilsesockwrapper.h \ |
|
64 ../wrapper/inc/wlanqtutilsscan.h \ |
|
65 ../traces/OstTraceDefinitions.h |
|
66 |
|
67 SOURCES += \ |
|
68 testwlanqtutils.cpp \ |
|
69 context/wlanqtutilstestcontext.cpp \ |
|
70 ../base/src/wlanqtutils.cpp \ |
|
71 ../base/src/wlanqtutils_p.cpp \ |
|
72 ../base/src/wlanqtutilsiap.cpp \ |
|
73 ../base/src/wlanqtutilsap.cpp \ |
|
74 ../base/src/wlanqtutilsconnection.cpp \ |
|
75 ../base/src/wlanqtutilsiapsettings.cpp \ |
|
76 ../wrapper/src/wlanqtutilsconmonwrapper.cpp \ |
|
77 ../wrapper/src/wlanqtutilsesockwrapper.cpp \ |
|
78 ../wrapper/src/wlanqtutilsscan.cpp |
|
79 |
|
80 symbian: { |
|
81 HEADERS += \ |
|
82 ../wrapper/inc/wlanqtutilsconmonwrapperdisconnect_symbian.h \ |
|
83 ../wrapper/inc/wlanqtutilsconmonwrapperinfo_symbian.h \ |
|
84 ../wrapper/inc/wlanqtutilsesockwrapper_symbian.h \ |
|
85 ../wrapper/inc/wlanqtutilsscanap_symbian.h \ |
|
86 ../wrapper/inc/wlanqtutilsscaniap_symbian.h \ |
|
87 stubs/ictswlanlogininterface.h \ |
|
88 stubs/wlanmgmtclient.h \ |
|
89 stubs/wlanscaninfo.h |
|
90 |
|
91 SOURCES += \ |
|
92 ../wrapper/src/wlanqtutilsconmonwrapperdisconnect_symbian.cpp \ |
|
93 ../wrapper/src/wlanqtutilsconmonwrapperinfo_symbian.cpp \ |
|
94 ../wrapper/src/wlanqtutilsesockwrapper_symbian.cpp \ |
|
95 ../wrapper/src/wlanqtutilsscanap_symbian.cpp \ |
|
96 ../wrapper/src/wlanqtutilsscaniap_symbian.cpp \ |
|
97 stubs/stub_connmon.cpp \ |
|
98 stubs/stub_esock.cpp \ |
|
99 stubs/stub_ictswlanlogininterface.cpp \ |
|
100 stubs/stub_wlanmgmtclient.cpp \ |
|
101 stubs/stub_wlanscaninfo.cpp |
|
102 } |
|
103 |
|
104 LIBS += -lconnmon -lconnection_settings_shim -lextendedconnpref -lnetmeta -lesock -lcharconv |
|