meson: reformat with meson formatter
Apply the `meson format` results.
Change-Id: Ie1c6e6ca7e5a12a485b844746b86ad48772d7754
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/meson.build b/meson.build
index 04136e9..527be0c 100644
--- a/meson.build
+++ b/meson.build
@@ -1,20 +1,22 @@
# OpenBMC openpower-libhei project, see README.md for details.
-project('openpower-libhei', 'cpp',
- version: '0.1', meson_version: '>=0.51.0',
- default_options: [
- 'warning_level=3',
- 'werror=true',
- 'cpp_std=c++14',
- ])
+project(
+ 'openpower-libhei',
+ 'cpp',
+ version: '0.1',
+ meson_version: '>=0.51.0',
+ default_options: ['warning_level=3', 'werror=true', 'cpp_std=c++14'],
+)
#-------------------------------------------------------------------------------
# Versioning
#-------------------------------------------------------------------------------
-buildinfo = vcs_tag(command: ['git', 'describe', '--always', '--long'],
- input: 'buildinfo.hpp.in',
- output: 'buildinfo.hpp',
- replace_string:'@BUILDINFO@',
- fallback: '0')
+buildinfo = vcs_tag(
+ command: ['git', 'describe', '--always', '--long'],
+ input: 'buildinfo.hpp.in',
+ output: 'buildinfo.hpp',
+ replace_string: '@BUILDINFO@',
+ fallback: '0',
+)
#-------------------------------------------------------------------------------
# libhei library
@@ -31,14 +33,14 @@
'src/util/hei_bit_string.cpp',
]
-libhei_dep = declare_dependency(include_directories : incdir,
- sources : [libhei_src, buildinfo])
+libhei_dep = declare_dependency(
+ include_directories: incdir,
+ sources: [libhei_src, buildinfo],
+)
# build static library libhei.a (note that the libray name is hei, the
# resulting filename will be libhei.a)
-libhei_static = static_library('hei',
- dependencies: libhei_dep,
- install: true)
+libhei_static = static_library('hei', dependencies: libhei_dep, install: true)
install_headers(
'src/hei_buildinfo.hpp',
@@ -49,23 +51,25 @@
'src/hei_types.hpp',
'src/hei_user_interface.hpp',
'src/hei_util.hpp',
- subdir : 'libhei'
+ subdir: 'libhei',
)
install_headers(
'src/util/hei_bit_string.hpp',
'src/util/hei_flyweight.hpp',
- subdir : 'libhei/util'
+ subdir: 'libhei/util',
)
pkg_mod = import('pkgconfig')
-pkg_mod.generate(libraries : libhei_static,
- version : '0.1',
- name : 'libhei',
- subdirs: 'libhei',
- filebase : 'hei',
- description : 'Openpower Hardware Error Isolator')
+pkg_mod.generate(
+ libraries: libhei_static,
+ version: '0.1',
+ name: 'libhei',
+ subdirs: 'libhei',
+ filebase: 'hei',
+ description: 'Openpower Hardware Error Isolator',
+)
#-------------------------------------------------------------------------------
# Chip Data Files
@@ -80,6 +84,6 @@
build_tests = get_option('tests')
if not build_tests.disabled()
- subdir('test')
+ subdir('test')
endif