xref: /openbmc/phosphor-host-ipmid/README.md (revision f5684a12)
1### Compile ipmid with default options:
2```ascii
3meson builddir
4ninja -C builddir
5```
6### Compile ipmid with yocto defaults:
7```ascii
8meson builddir -Dbuildtype=minsize -Db_lto=true -Dtests=disabled
9ninja -C builddir
10```
11If any of the dependencies are not found on the host system during
12configuration, meson automatically gets them via its wrap dependencies
13mentioned in `ipmid/subprojects`.
14
15### Enable/Disable meson wrap feature
16```ascii
17meson builddir -Dwrap_mode=nofallback
18ninja -C builddir
19```
20### Enable debug traces
21```ascii
22meson builddir -Dbuildtype=debug
23ninja -C builddir
24```
25### Generate test coverage report:
26```ascii
27meson builddir -Db_coverage=true -Dtests=enabled
28ninja -C builddir test
29ninja -C builddir coverage
30```
31