Thang Q. Nguyen | 20c6f95 | 2020-12-09 03:28:44 +0000 | [diff] [blame] | 1 | project('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. |
| 14 | add_project_arguments('-Wno-psabi', language: 'c') |
| 15 | |
| 16 | deps = [dependency('libsystemd', version : '>=221'), |
| 17 | dependency('systemd'), |
| 18 | ] |
| 19 | |
| 20 | executable('ssifbridged','ssifbridged.c', |
| 21 | dependencies: deps, |
| 22 | install: true) |