blob: 08e5b72462c212ef04295fc21e3db80be2c6b07b [file] [log] [blame]
Thang Q. Nguyen20c6f952020-12-09 03:28:44 +00001project('ssifbridge', 'c',
2 default_options: [
3 'buildtype=debugoptimized',
4 'warning_level=3',
5 'werror=true',
6 ],
7 version: '1.0',
8)
9
10# Wno-psabi reduces the number of "Note:" messages when cross-compiling some STL
11# stuff for ARM. See https://stackoverflow.com/questions/48149323/strange-gcc-warning-when-compiling-qt-project
12# Basically, gcc 6 and gcc 7 are not ABI compatible, but since the whole OpenBMC
13# project uses the same compiler, we can safely ignmore these info notes.
14add_project_arguments('-Wno-psabi', language: 'c')
15
16deps = [dependency('libsystemd', version : '>=221'),
17 dependency('systemd'),
18 ]
19
20executable('ssifbridged','ssifbridged.c',
21 dependencies: deps,
22 install: true)