Add meson build support
Tested:
1. Project builds with each meson option turned on or off.
2. Unit tests build and pass.
3. On platform FW built with updated recipe
(I23fabdf57b8d6ac35c3aea0ece667be118de4b61):
a. SMBIOS blob store library is properly picked up by IPMI blob
store manager and handles OEM IPMI commands.
b. smbiosmdrv2app is running and populates objects on D-Bus.
c. cpuinfoapp is running and populates objects on D-Bus.
Change-Id: Ie65b281900cc07e7d0145445bcc65bbab1979214
Signed-off-by: Jonathan Doman <jonathan.doman@intel.com>
diff --git a/meson.options b/meson.options
new file mode 100644
index 0000000..8072041
--- /dev/null
+++ b/meson.options
@@ -0,0 +1,34 @@
+option(
+ 'tests',
+ type: 'feature',
+ value: 'disabled',
+ description: 'Build tests'
+)
+
+option(
+ 'dimm-dbus',
+ type: 'feature',
+ value: 'enabled',
+ description: 'Expose DIMM D-Bus Interface'
+)
+
+option(
+ 'dimm-only-locator',
+ type: 'feature',
+ value: 'disabled',
+ description: 'Only use the DIMM number, and not the bank'
+)
+
+option(
+ 'cpuinfo',
+ type: 'feature',
+ value: 'enabled',
+ description: 'Build CPUInfo service'
+)
+
+option(
+ 'smbios-ipmi-blob',
+ type: 'feature',
+ value: 'enabled',
+ description: 'Build IPMI blob library for SMBIOS transfer'
+)