Make pip buildable
This package would be very useful if able to be built with pip. This
commit makes libcper usable from python with
git clone git@github.com:openbmc/libcper.git
pip install libcper
The API at the moment is primitive, and only supports the parse api. An
example of its usage is included.
Change-Id: I944565c71f616735a738bcc4f815d25251ed27bb
Signed-off-by: Ed Tanous <etanous@nvidia.com>
diff --git a/meson.options b/meson.options
index 9cda0c4..ffd7c74 100644
--- a/meson.options
+++ b/meson.options
@@ -5,7 +5,25 @@
description: 'Build fuzz targets',
)
option('tests', type: 'feature', value: 'enabled', description: 'Build tests')
-option('utility', type: 'feature', value: 'enabled', description: 'Utility')
+option(
+ 'utility',
+ type: 'feature',
+ value: 'enabled',
+ description: 'Compile CLI utilities',
+)
+option(
+ 'python',
+ type: 'feature',
+ value: 'disabled',
+ description: 'Build python extensions',
+)
+option('install', type: 'feature', value: 'enabled', description: 'Install')
+option(
+ 'pkgconfig',
+ type: 'feature',
+ value: 'enabled',
+ description: 'Install pkgconfig',
+)
option(
'output-all-properties',
type: 'feature',