|
a |
|
b/windows/qmk/libupnpp.pro |
|
|
1 |
QT -= core gui
|
|
|
2 |
|
|
|
3 |
TARGET = upnpp
|
|
|
4 |
TEMPLATE = lib
|
|
|
5 |
|
|
|
6 |
# Need this because we have 2 device.cxx files
|
|
|
7 |
CONFIG += object_parallel_to_source
|
|
|
8 |
CONFIG += qt warn_on thread release
|
|
|
9 |
CONFIG += staticlib
|
|
|
10 |
|
|
|
11 |
DEFINES += UPNP_STATIC_LIB
|
|
|
12 |
DEFINES += CURL_STATICLIB
|
|
|
13 |
DEFINES += WIN32
|
|
|
14 |
DEFINES -= UNICODE
|
|
|
15 |
DEFINES -= _UNICODE
|
|
|
16 |
DEFINES += _MBCS
|
|
|
17 |
DEFINES += PSAPI_VERSION=1
|
|
|
18 |
|
|
|
19 |
INCLUDEPATH += ../../
|
|
|
20 |
INCLUDEPATH += c:/users/bill/documents/upnp/expat-2.1.0/lib
|
|
|
21 |
INCLUDEPATH += c:/users/bill/documents/upnp/pupnp/include
|
|
|
22 |
INCLUDEPATH += c:/users/bill/documents/upnp/curl-7.43.0/include
|
|
|
23 |
|
|
|
24 |
LIBS += c:/users/bill/documents/upnp/expat-2.1.0/.libs/libexpat.a
|
|
|
25 |
LIBS += c:/users/bill/documents/upnp/curl-7.43.0/lib/libcurl.a
|
|
|
26 |
LIBS += c:/users/bill/documents/upnp/pupnp/upnp/.libs/libupnp.a
|
|
|
27 |
LIBS += c:/users/bill/documents/upnp/pupnp/ixml/.libs/libixml.a
|
|
|
28 |
LIBS += c:/users/bill/documents/upnp/pupnp/threadutil/.libs/libthreadutil.a
|
|
|
29 |
LIBS += -liphlpapi
|
|
|
30 |
LIBS += -lwldap32
|
|
|
31 |
LIBS += -lws2_32
|
|
|
32 |
|
|
|
33 |
contains(QMAKE_CC, gcc){
|
|
|
34 |
# MingW
|
|
|
35 |
QMAKE_CXXFLAGS += -std=c++11 -Wno-unused-parameter
|
|
|
36 |
}
|
|
|
37 |
contains(QMAKE_CC, cl){
|
|
|
38 |
# Visual Studio
|
|
|
39 |
}
|
|
|
40 |
|
|
|
41 |
SOURCES += \
|
|
|
42 |
../../libupnpp/getsyshwaddr.c \
|
|
|
43 |
../../libupnpp/base64.cxx \
|
|
|
44 |
../../libupnpp/control/avlastchg.cxx \
|
|
|
45 |
../../libupnpp/control/avtransport.cxx \
|
|
|
46 |
../../libupnpp/control/cdircontent.cxx \
|
|
|
47 |
../../libupnpp/control/cdirectory.cxx \
|
|
|
48 |
../../libupnpp/control/description.cxx \
|
|
|
49 |
../../libupnpp/control/device.cxx \
|
|
|
50 |
../../libupnpp/control/discovery.cxx \
|
|
|
51 |
../../libupnpp/control/httpdownload.cxx \
|
|
|
52 |
../../libupnpp/control/mediarenderer.cxx \
|
|
|
53 |
../../libupnpp/control/mediaserver.cxx \
|
|
|
54 |
../../libupnpp/control/ohplaylist.cxx \
|
|
|
55 |
../../libupnpp/control/ohproduct.cxx \
|
|
|
56 |
../../libupnpp/control/ohreceiver.cxx \
|
|
|
57 |
../../libupnpp/control/ohtime.cxx \
|
|
|
58 |
../../libupnpp/control/ohvolume.cxx \
|
|
|
59 |
../../libupnpp/control/renderingcontrol.cxx \
|
|
|
60 |
../../libupnpp/control/service.cxx \
|
|
|
61 |
../../libupnpp/device/device.cxx \
|
|
|
62 |
../../libupnpp/device/vdir.cxx \
|
|
|
63 |
../../libupnpp/ixmlwrap.cxx \
|
|
|
64 |
../../libupnpp/log.cxx \
|
|
|
65 |
../../libupnpp/md5.cxx \
|
|
|
66 |
../../libupnpp/soaphelp.cxx \
|
|
|
67 |
../../libupnpp/upnpavutils.cxx \
|
|
|
68 |
../../libupnpp/upnpplib.cxx
|