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