commit | f5684a12a3f79f62c054d147b153905a4895ac31 | [log] [tgz] |
---|---|---|
author | Willy Tu <wltu@google.com> | Wed Jun 01 07:52:46 2022 -0700 |
committer | Willy Tu <wltu@google.com> | Wed Jul 13 20:13:21 2022 +0000 |
tree | f766a24fc361cea0a66756e9ceed6fa342461779 | |
parent | d09db492c545a333839f933914cb6f2180dc6f4f [diff] |
README: Update build instruction to based on meson Copied the instructions from bmcweb in https://github.com/openbmc/bmcweb/blob/master/README.md Change-Id: I9446113bb87e8f530647d2a6a64a72806e355d62 Signed-off-by: Willy Tu <wltu@google.com>
meson builddir ninja -C builddir
meson builddir -Dbuildtype=minsize -Db_lto=true -Dtests=disabled ninja -C builddir
If any of the dependencies are not found on the host system during configuration, meson automatically gets them via its wrap dependencies mentioned in ipmid/subprojects
.
meson builddir -Dwrap_mode=nofallback ninja -C builddir
meson builddir -Dbuildtype=debug ninja -C builddir
meson builddir -Db_coverage=true -Dtests=enabled ninja -C builddir test ninja -C builddir coverage