build: Switch to meson & c++20 & remove cmake
This commit would add the meson build system support
for the phosphor-post-code-manager repository and also
switch's the compiler standard to c++20 (so that we can
leverage the latest C++ constructs).
This commit also add's the cereal dependency. There are
source files that assume cereal header files will be present
without the meson build explicitly finding that dependency.
This leads to compile failure when running in subproject mode.
Tested By:
1. Compile post-code-manager using
meson builddir
ninja -C builddir
2. copy that executable on to bmc
3. was able to run it and make sure it hosts the dbus interfaces like
it used to.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I342108ea3843c3990385a432c4c540e20b9db4cc
diff --git a/subprojects/phosphor-logging.wrap b/subprojects/phosphor-logging.wrap
new file mode 100644
index 0000000..a039fcf
--- /dev/null
+++ b/subprojects/phosphor-logging.wrap
@@ -0,0 +1,3 @@
+[wrap-git]
+url = https://github.com/openbmc/phosphor-logging.git
+revision = HEAD