]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Meson: YaHTTP
authorFred Morcos <fred.morcos@open-xchange.com>
Tue, 8 Aug 2023 14:40:41 +0000 (16:40 +0200)
committerFred Morcos <fred.morcos@open-xchange.com>
Wed, 20 Mar 2024 12:28:35 +0000 (13:28 +0100)
ext/yahttp/meson.build [new file with mode: 0644]
ext/yahttp/yahttp/meson.build [new file with mode: 0644]

diff --git a/ext/yahttp/meson.build b/ext/yahttp/meson.build
new file mode 100644 (file)
index 0000000..49a4025
--- /dev/null
@@ -0,0 +1,3 @@
+module_dist = ['LICENSE', 'README.md']
+
+subdir('yahttp')
diff --git a/ext/yahttp/yahttp/meson.build b/ext/yahttp/yahttp/meson.build
new file mode 100644 (file)
index 0000000..26ee631
--- /dev/null
@@ -0,0 +1,18 @@
+module_sources = [
+  'cookie.hpp',
+  'exception.hpp',
+  'reqresp.cpp',
+  'reqresp.hpp',
+  'router.cpp',
+  'router.hpp',
+  'url.hpp',
+  'utility.hpp',
+  'yahttp-config.h',
+  'yahttp.hpp',
+]
+
+dep_yahttp = declare_dependency(
+  compile_args: '-Wno-overloaded-virtual',
+  sources: module_sources,
+  include_directories: include_directories('..'),
+)