libcyaml with meson and patches for zrythm
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.6 KiB

# Copyright (C) 2019-2020 Alexandros Theodotou <alex at zrythm dot org>
# This file is part of Zrythm
# Zrythm is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# Zrythm is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# GNU Affero General Public License for more details.
# You should have received a copy of the GNU Affero General Public License
# along with Zrythm. If not, see <>.
project (
'zrythm-cyaml', ['c'],
version: '1.2.0',
license: 'ISC',
default_options: [
cc = meson.get_compiler ('c')
cargs = [
yaml_dep = dependency (
fallback: ['libyaml', 'yaml_dep'])
zrythm_cyaml_inc = [
include_directories ('include'),
zrythm_cyaml = static_library (
sources: [
join_paths ('src', 'mem.c'),
join_paths ('src', 'save.c'),
join_paths ('src', 'free.c'),
join_paths ('src', 'load.c'),
join_paths ('src', 'utf8.c'),
join_paths ('src', 'util.c'),
c_args: cargs,
dependencies: yaml_dep,
include_directories: zrythm_cyaml_inc,
zrythm_cyaml_dep = declare_dependency (
include_directories: 'include',
link_with: zrythm_cyaml)