meson: reformat with meson formatter
Apply the `meson format` results.
Change-Id: Ibc284677b4e623fc2788cd223ac12139e00810e9
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/meson.build b/meson.build
index ed9a730..933c1d9 100644
--- a/meson.build
+++ b/meson.build
@@ -1,56 +1,50 @@
project(
- 'peci-pcie',
- 'cpp',
- version : '1.0',
- meson_version: '>=1.1.1',
- default_options: [
- 'b_ndebug=if-release',
- 'cpp_rtti=false',
- 'cpp_std=c++23',
- 'warning_level=3',
- 'werror=true',
- ]
+ 'peci-pcie',
+ 'cpp',
+ version: '1.0',
+ meson_version: '>=1.1.1',
+ default_options: [
+ 'b_ndebug=if-release',
+ 'cpp_rtti=false',
+ 'cpp_std=c++23',
+ 'warning_level=3',
+ 'werror=true',
+ ],
)
-if(get_option('wait-for-os-standby').allowed())
- add_project_arguments('-DWAIT_FOR_OS_STANDBY', language : 'cpp')
+if (get_option('wait-for-os-standby').allowed())
+ add_project_arguments('-DWAIT_FOR_OS_STANDBY', language: 'cpp')
endif
-if(get_option('use-rdendpointcfg').allowed())
- add_project_arguments('-DUSE_RDENDPOINTCFG', language : 'cpp')
+if (get_option('use-rdendpointcfg').allowed())
+ add_project_arguments('-DUSE_RDENDPOINTCFG', language: 'cpp')
endif
sdbusplus = dependency('sdbusplus')
systemd = dependency('systemd', required: true)
-systemd_system_unit_dir = systemd.get_variable(pkgconfig:
- 'systemdsystemunitdir'
-)
+systemd_system_unit_dir = systemd.get_variable(pkgconfig: 'systemdsystemunitdir')
peci = dependency('libpeci')
boost = dependency('boost', version: '>=1.82')
add_project_arguments(
- [
- '-DBOOST_ASIO_DISABLE_THREADS',
- '-DBOOST_ASIO_EXCEPTION_DISABLE',
- '-DBOOST_ASIO_NO_DEPRECATED',
- '-DBOOST_NO_RTTI',
- '-DBOOST_NO_TYPEID',
- ],
- language : 'cpp'
+ [
+ '-DBOOST_ASIO_DISABLE_THREADS',
+ '-DBOOST_ASIO_EXCEPTION_DISABLE',
+ '-DBOOST_ASIO_NO_DEPRECATED',
+ '-DBOOST_NO_RTTI',
+ '-DBOOST_NO_TYPEID',
+ ],
+ language: 'cpp',
)
executable(
- 'peci-pcie',
- 'src/peci_pcie.cpp',
- include_directories: include_directories('include'),
- dependencies: [
- boost,
- peci,
- sdbusplus,
- ],
- install: true,
+ 'peci-pcie',
+ 'src/peci_pcie.cpp',
+ include_directories: include_directories('include'),
+ dependencies: [boost, peci, sdbusplus],
+ install: true,
)
subdir('service_files')