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
8 files changed
tree: 8435d6622869f68777f5ea937425bd0fe088f52a
  1. inc/
  2. service_files/
  3. src/
  4. subprojects/
  5. .clang-format
  6. LICENSE
  7. MAINTAINERS
  8. meson.build
  9. meson_options.txt
  10. OWNERS
  11. README.md
README.md

phosphor-post-code-manager