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
|
libkmsxxutil_sources = files([
'src/colorbar.cpp',
'src/color.cpp',
'src/cpuframebuffer.cpp',
'src/drawing.cpp',
'src/extcpuframebuffer.cpp',
'src/opts.cpp',
'src/resourcemanager.cpp',
'src/strhelpers.cpp',
'src/testpat.cpp',
'src/videodevice.cpp',
])
public_headers = [
'inc/kms++util/color.h',
'inc/kms++util/kms++util.h',
'inc/kms++util/stopwatch.h',
'inc/kms++util/cpuframebuffer.h',
'inc/kms++util/strhelpers.h',
'inc/kms++util/opts.h',
'inc/kms++util/extcpuframebuffer.h',
'inc/kms++util/resourcemanager.h',
'inc/kms++util/videodevice.h',
]
private_includes = include_directories('src', 'inc')
public_includes = include_directories('inc')
libkmsxxutil_deps = [ libkmsxx_dep, libfmt_dep ]
libkmsxxutil = library('kms++util',
libkmsxxutil_sources,
install : true,
include_directories : private_includes,
dependencies : libkmsxxutil_deps)
libkmsxxutil_dep = declare_dependency(include_directories : public_includes,
link_with : libkmsxxutil)
install_headers(public_headers, subdir : 'kms++util')
pkg = import('pkgconfig')
pkg.generate(libkmsxxutil)
|