summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meson.build33
-rw-r--r--meson/suppressions/meson.build8
2 files changed, 22 insertions, 19 deletions
diff --git a/meson.build b/meson.build
index 31937a7..94847dd 100644
--- a/meson.build
+++ b/meson.build
@@ -1,16 +1,19 @@
# Copyright 2021-2022 David Robillard <d@drobilla.net>
# SPDX-License-Identifier: 0BSD OR ISC
-project('suil', ['c', 'cpp'],
- version: '0.10.19',
- license: 'ISC',
- meson_version: '>= 0.56.0',
- default_options: [
- 'b_ndebug=if-release',
- 'buildtype=release',
- 'c_std=c99',
- 'cpp_std=c++14',
- ])
+project(
+ 'suil',
+ ['c', 'cpp'],
+ default_options: [
+ 'b_ndebug=if-release',
+ 'buildtype=release',
+ 'c_std=c99',
+ 'cpp_std=c++14',
+ ],
+ license: 'ISC',
+ meson_version: '>= 0.56.0',
+ version: '0.10.19',
+)
suil_src_root = meson.current_source_dir()
major_version = meson.project_version().split('.')[0]
@@ -320,9 +323,7 @@ if get_option('warning_level') == 'everything'
# Check licensing metadata
reuse = find_program('reuse', required: false)
if reuse.found()
- test('REUSE', reuse,
- args: ['--root', suil_src_root, 'lint'],
- suite: 'data')
+ test('REUSE', reuse, args: ['--root', suil_src_root, 'lint'], suite: 'data')
endif
endif
@@ -338,9 +339,9 @@ endif
if not meson.is_subproject()
summary(
{
- 'Install prefix': get_option('prefix'),
- 'Headers': get_option('prefix') / get_option('includedir'),
- 'Libraries': get_option('prefix') / get_option('libdir'),
+ 'Install prefix': get_option('prefix'),
+ 'Headers': get_option('prefix') / get_option('includedir'),
+ 'Libraries': get_option('prefix') / get_option('libdir'),
},
section: 'Directories',
)
diff --git a/meson/suppressions/meson.build b/meson/suppressions/meson.build
index 6eaa65b..87af4d6 100644
--- a/meson/suppressions/meson.build
+++ b/meson/suppressions/meson.build
@@ -145,9 +145,11 @@ if is_variable('objcpp')
elif objcpp.get_id() == 'gcc'
if warning_level == 'everything'
- objcpp_suppressions = gcc_common_warnings + [
- '-Wno-direct-ivar-access',
- ]
+ objcpp_suppressions = (
+ gcc_common_warnings + [
+ '-Wno-direct-ivar-access',
+ ]
+ )
endif
endif