summaryrefslogtreecommitdiff
path: root/kms++util
diff options
context:
space:
mode:
Diffstat (limited to 'kms++util')
-rw-r--r--kms++util/meson.build43
1 files changed, 43 insertions, 0 deletions
diff --git a/kms++util/meson.build b/kms++util/meson.build
new file mode 100644
index 0000000..f9e76ae
--- /dev/null
+++ b/kms++util/meson.build
@@ -0,0 +1,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)