-
Notifications
You must be signed in to change notification settings - Fork 2
/
meson.build
59 lines (53 loc) · 3.12 KB
/
meson.build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
project('upnp', 'cpp', default_options : ['cpp_std=c++14'])
utilssub = subproject('utils')
upnpinc = include_directories('inc')
upnpfiles = files(
'inc/upnp/upnpaction.h', 'src/upnpaction.cpp',
'inc/upnp/upnpactionresponse.h', 'src/upnpactionresponse.cpp',
'inc/upnp/upnpavtransportclient.h', 'src/upnpavtransportclient.cpp',
'inc/upnp/upnpavtransportservice.h', 'src/upnpavtransportservice.cpp',
'inc/upnp/upnpavtransporttypes.h',
'inc/upnp/upnpclientinterface.h',
'inc/upnp/upnpconnectionmanagerclient.h', 'src/upnpconnectionmanagerclient.cpp',
'inc/upnp/upnpconnectionmanagerservice.h', 'src/upnpconnectionmanagerservice.cpp',
'inc/upnp/upnpconnectionmanagertypes.h',
'inc/upnp/upnpcontentdirectoryclient.h', 'src/upnpcontentdirectoryclient.cpp',
'inc/upnp/upnpcontentdirectoryservice.h', 'src/upnpcontentdirectoryservice.cpp',
'inc/upnp/upnpcontentdirectorytypes.h',
'inc/upnp/upnpcontrolpoint.h', 'src/upnpcontrolpoint.cpp',
'inc/upnp/upnpdevice.h',
'inc/upnp/upnpdeviceservice.h',
'inc/upnp/upnpdeviceserviceexceptions.h',
'inc/upnp/upnpdevicescanner.h', 'src/upnpdevicescanner.cpp',
'inc/upnp/upnpdlnainfo.h', 'src/upnpdlnainfo.cpp',
'inc/upnp/upnpfactory.h', 'src/upnpfactory.cpp',
'inc/upnp/upnpfwd.h',
'inc/upnp/upnphttpclient.h', 'src/upnphttpclient.cpp',
'inc/upnp/upnphttpreader.h', 'src/upnphttpreader.cpp',
'inc/upnp/upnpitem.h', 'src/upnpitem.cpp',
'inc/upnp/upnplastchangevariable.h', 'src/upnplastchangevariable.cpp',
'inc/upnp/upnpmediarenderer.h', 'src/upnpmediarenderer.cpp',
'inc/upnp/upnpmediaserver.h', 'src/upnpmediaserver.cpp',
'inc/upnp/upnpprotocolinfo.h', 'src/upnpprotocolinfo.cpp',
'inc/upnp/upnprenderingcontrolclient.h', 'src/upnprenderingcontrolclient.cpp',
'inc/upnp/upnprenderingcontrolservice.h', 'src/upnprenderingcontrolservice.cpp',
'inc/upnp/upnprenderingcontroltypes.h',
'inc/upnp/upnprootdevice.h', 'src/upnprootdevice.cpp',
'inc/upnp/upnprootdeviceinterface.h',
'inc/upnp/upnpserviceclientbase.h',
'inc/upnp/upnpservicevariable.h',
'inc/upnp/upnpstatevariable.h',
'inc/upnp/upnptypes.h',
'inc/upnp/upnputils.h',
'inc/upnp/upnpwebserver.h', 'src/upnpwebserver.cpp',
'inc/upnp/upnpxml.h', 'src/upnpxml.cpp',
'inc/upnp/upnpxmlutils.h', 'src/upnpxmlutils.cpp',
'src/upnpclient.h', 'src/upnpclient.cpp'
)
libupnp_dep = dependency('libupnp')
upnplib = static_library('upnp',
upnpfiles,
include_directories : upnpinc,
dependencies : [libupnp_dep, utilssub.get_variable('utils_dep')])
upnp_dep = declare_dependency(link_with : upnplib, include_directories : [upnpinc, utilssub.get_variable('utilsinc')])
subdir('test')