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