build: rename dependency variable

Per [1], the naming convention for dependencies is '<project_name>_dep',
for consistency when importing the project as a meson subproject.
Rename the variable here to match this convention.

Based on [2] there appears to not be any current users of this as a
subproject which would need to be updated.

1. https://mesonbuild.com/Subprojects.html#naming-convention-for-dependency-variables
2. https://github.com/search?q=org%3Aopenbmc+get_variable&type=code

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I66082b3f667e9d00ede02184d0b008d0dd22d36b
3 files changed
tree: c3cdf58c7b70c13a8ffe163f18003d6767fa26c0
  1. example/
  2. src/
  3. subprojects/
  4. test/
  5. .clang-format
  6. .clang-ignore
  7. .clang-tidy
  8. .gitignore
  9. .lcovrc
  10. LICENSE
  11. MAINTAINERS
  12. meson.build
  13. meson_options.txt
  14. README.md
README.md

sdeventplus

sdeventplus is a c++ wrapper around the systemd sd_event apis meant to provide c++ ergonomics to their usage.

Dependencies

The sdeventplus library requires a libsystemd development package on the system for sd-event.

Building

For a standard release build, you want something like:

meson setup -Dexamples=false -Dtests=disabled builddir
ninja -C builddir
ninja -C builddir install

For a test / debug build, a typical configuration is

meson setup -Dtests=enabled builddir
meson test -C builddir