Add support for building with meson
Follow the OpenBMC herd and support a modern, comprehensible build framework.
To build with meson:
meson build
ninja -C build
The OpenBMC CI scripts look for meson.build before looking for CMakelists so
approval of this patch would change the build system during CI to meson.
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Change-Id: I23d023d8db8048579926231841f497366ab3d516
diff --git a/src/main.cpp b/src/main.cpp
index c0564e5..e57c767 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -118,7 +118,7 @@
static inline void
handleListUnitsResponse(sdbusplus::asio::object_server& server,
std::shared_ptr<sdbusplus::asio::connection>& conn,
- boost::system::error_code ec,
+ boost::system::error_code /*ec*/,
const std::vector<ListUnitsType>& listUnits)
{
// Loop through all units, and mark all units, which has to be
@@ -316,7 +316,7 @@
"type='signal',"
"member='StartupFinished',path='/org/freedesktop/systemd1',"
"interface='org.freedesktop.systemd1.Manager'",
- [&server, &conn](sdbusplus::message::message& msg) {
+ [&server, &conn](sdbusplus::message::message& /*msg*/) {
if (!unitQueryStarted)
{
unitQueryStarted = true;