blob: 18f4f42b095e5234f4901677562b33c684b0f32f [file] [log] [blame]
Chris Sides516faac2024-05-17 14:59:47 -05001project(
2 'phosphor-u-boot-env-mgr',
3 'cpp',
4 default_options: [
5 'warning_level=3',
6 'werror=true',
7 'cpp_std=c++20' #highly suspect there should be more entries tied to line 4-6 of CMakeLists.txt.old
8 ],
9 license: 'Apache-2.0',
10 version: '0.1',
11 meson_version: '>=0.64.0',
12)
13add_project_arguments('-Wno-psabi', #no idea what this line is about or where it came from
14 '-DBOOST_ERROR_CODE_HEADER_ONLY',
15 '-DBOOST_SYSTEM_NO_DEPRECATED',
16 '-DBOOST_ALL_NO_LIB',
17 '-DBOOST_NO_RTTI',
18 '-DBOOST_NO_TYPEID',
19 '-DBOOST_ASIO_DISABLE_THREADS',
20 language: 'cpp')
21
22boost = dependency('boost', version: '>=1.75.0', include_type: 'system', required : true)
23sdbusplus = dependency('sdbusplus', include_type: 'system', required : true)
24dbusinterface = dependency('phosphor-dbus-interfaces', include_type: 'system', required : true)
25phosphor_logging_dep = dependency('phosphor-logging', required : true)
26
27default_deps =[
28 boost,
29 phosphor_logging_dep,
30 sdbusplus,
31 dbusinterface,
32 ]
33
34incdir = include_directories('include')
35
36subdir('src')
37subdir('include')
38subdir('service_files')