aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-06-06 20:35:46 +0200
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:07 -0500
commit93133610d2454108ace24948358c4f0be47049a2 (patch)
tree695cfe5c9c3815fc07282a5f19dd22b3edb13e0d /meson.build
parent1d8cc6eebcb61f261f6d92318ffda32d8a4de080 (diff)
downloadserd-93133610d2454108ace24948358c4f0be47049a2.tar.gz
serd-93133610d2454108ace24948358c4f0be47049a2.tar.bz2
serd-93133610d2454108ace24948358c4f0be47049a2.zip
[WIP] Add zix dependency
Most of the system-specific code will be replaced with calls to portable zix functions, and the data structures will be used for in-memory node and statement storage.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build9
1 files changed, 8 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 2afe226b..bfedbd54 100644
--- a/meson.build
+++ b/meson.build
@@ -9,6 +9,7 @@ project(
'buildtype=release',
'c_std=c99',
'c_winlibs=[]',
+ 'cpp_std=c++17',
'warning_level=3',
],
license: 'ISC',
@@ -112,6 +113,12 @@ exess_dep = dependency(
version: '>= 0.0.1',
)
+zix_dep = dependency(
+ 'zix-0',
+ fallback: ['zix', 'zix_dep'],
+ version: '>= 0.3.3',
+)
+
###########
# Library #
###########
@@ -178,7 +185,7 @@ libserd = library(
'-DSERD_MINOR_VERSION=@0@'.format(serd_minor_version),
'-DSERD_VERSION="@0@"'.format(meson.project_version()),
] + c_suppressions + extra_c_args + platform_c_args,
- dependencies: [exess_dep, m_dep],
+ dependencies: [exess_dep, m_dep, zix_dep],
gnu_symbol_visibility: 'hidden',
include_directories: include_dirs,
install: true,