meson: add necessary subprojects
Add subprojects for all the direct dependencies of the project such
that the project can be built outside of a Yocto SDK on a typical
Linux development system.
- Update the .gitignore to ignore the subproject source directories.
- Update the .gitignore to ignore alternative build subdirectory
names as is typical with most projects in the openbmc organization.
- Add wrap files for direct dependencies, copied from other
repositories that already have the same dependencies.
- Modify the meson.build dependency for libgpiod so that the C++
bindings are included.
- Add many missing dependencies throughout.
- Sort all dependencies alphabetically for consistency.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I0feb6f0f175e6dba0b00a2c2b666eb0801575734
diff --git a/tools/power-utils/meson.build b/tools/power-utils/meson.build
index 848c42f..d9e8a37 100644
--- a/tools/power-utils/meson.build
+++ b/tools/power-utils/meson.build
@@ -4,9 +4,11 @@
'updater.cpp',
'main.cpp',
dependencies: [
+ cli11_dep,
+ libi2c_dep,
+ nlohmann_json_dep,
phosphor_dbus_interfaces,
phosphor_logging,
- libi2c_dep,
],
include_directories: [libpower_inc, libi2c_inc],
install: true,