diff options
author | David Robillard <d@drobilla.net> | 2023-09-23 17:10:59 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-09-23 17:10:59 -0400 |
commit | e70d162e313f5f5c30c90fc279f77a0e85cba99d (patch) | |
tree | fbfca5c60569d23a574968e48e3b1475d919a352 /meson.build | |
parent | e6831b0670cbb33414a541975b4a7de64841d243 (diff) | |
download | patchage-e70d162e313f5f5c30c90fc279f77a0e85cba99d.tar.gz patchage-e70d162e313f5f5c30c90fc279f77a0e85cba99d.tar.bz2 patchage-e70d162e313f5f5c30c90fc279f77a0e85cba99d.zip |
Format meson.build files with muon
The less time wasted with manual code formatting, the better.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 35 |
1 files changed, 20 insertions, 15 deletions
diff --git a/meson.build b/meson.build index 81b5a54..90d60d4 100644 --- a/meson.build +++ b/meson.build @@ -1,15 +1,18 @@ # Copyright 2020-2023 David Robillard <d@drobilla.net> # SPDX-License-Identifier: 0BSD OR GPL-3.0-or-later -project('patchage', ['c', 'cpp'], - version: '1.0.11', - license: 'GPLv3+', - meson_version: '>= 0.56.0', - default_options: [ - 'b_ndebug=if-release', - 'buildtype=release', - 'cpp_std=c++17', - ]) +project( + 'patchage', + ['c', 'cpp'], + default_options: [ + 'b_ndebug=if-release', + 'buildtype=release', + 'cpp_std=c++17', + ], + license: 'GPLv3+', + meson_version: '>= 0.56.0', + version: '1.0.11', +) patchage_src_root = meson.current_source_dir() major_version = meson.project_version().split('.')[0] @@ -70,14 +73,16 @@ int main(void) { return !!&jack_set_property; }''' endif platform_defines += '-DHAVE_GETTEXT=@0@'.format( - cpp.compiles(gettext_code, - args: platform_defines, - name: 'gettext').to_int()) + cpp.compiles(gettext_code, args: platform_defines, name: 'gettext').to_int(), + ) platform_defines += '-DHAVE_JACK_METADATA=@0@'.format( - cpp.compiles(jack_metadata_code, - args: platform_defines, - name: 'jack_metadata').to_int()) + cpp.compiles( + jack_metadata_code, + args: platform_defines, + name: 'jack_metadata', + ).to_int(), + ) endif |