meson: add dependency for libmapper

In order to allow 'libmapper' to be picked up as a meson subproject,
we need to declare the dependency.  Enabling this allows a trivial
wrap file such as the following to allow `dependency('mapper')` to
resolve in a wrap-build:

```
$ cat subprojects/phosphor-objmgr.wrap
[wrap-git]
url = https://github.com/openbmc/phosphor-objmgr
revision = HEAD

[provide]
mapper = mapper_dep
```

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I45d8d3f69fd284bfe727e1b8e94fb42a6158a1b5
1 file changed
tree: 8e724f176843fd313fd28e69fd0da7d9f1faecf2
  1. fail-monitor/
  2. libmapper/
  3. src/
  4. subprojects/
  5. .clang-format
  6. .gitignore
  7. LICENSE
  8. MAINTAINERS
  9. meson.build
  10. meson_options.txt
  11. OWNERS
  12. README.md
README.md

Prerequisites

Non-OpenBMC build dependencies are:

  • meson/ninja
  • boost
  • libsystemd
  • systemd
  • tinyxml2

Build

meson build && ninja -C build

Run Unit Tests

meson build && ninja -C build test

Clean the repository

rm -rf build