meson: refactor gtest and gmock dependencies

gtest has added first class support for being a meson subproject, so the
gtest/gmock dependencies can be expressed with fewer conditions and more
succinctly.  Tested by building and running the unit tests using the
gtest subproject.

Change-Id: I57e43e36b866ebe0229b29f907b2c78acb55b7bc
Signed-off-by: Brad Bishop <bradbish@qti.qualcomm.com>
1 file changed
tree: 049c847c140ee0473ea8a05572f3a0e8c8c06958
  1. fail-monitor/
  2. libmapper/
  3. src/
  4. subprojects/
  5. .clang-format
  6. .gitignore
  7. LICENSE
  8. meson.build
  9. meson.options
  10. OWNERS
  11. README.md
README.md

The Mapper

This repository contains the mapper, which assists in finding things on D-Bus. There is documentation about it in the docs repository.

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