tomh / rpms / libnitrokey

Forked from rpms/libnitrokey 5 years ago
Clone
Blob Blame History Raw
From 9d8498765ccf188950ccf266ea1fb075a48628ac Mon Sep 17 00:00:00 2001
From: Szczepan Zalega <szczepan@nitrokey.com>
Date: Wed, 18 Jul 2018 12:32:22 +0200
Subject: [PATCH 04/11] Mention build with meson in the Readme

Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
---
 README.md | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/README.md b/README.md
index 81b367a..1bc8ef9 100644
--- a/README.md
+++ b/README.md
@@ -76,6 +76,17 @@ Other build options (all take either `ON` or `OFF`):
 * NO_LOG (default: OFF) - do not compile LOG statements - will make library smaller, but without any diagnostic messages
 
 
+### Meson
+It is possible to use Meson and Ninja to build the project as well (currently available only `master` branch).
+Please run:
+```
+meson builddir
+cd builddir
+meson configure # to show available build flags
+ninja
+```
+
+Tests build with bundled Catch is not supported yet with this method.
 
 # Using libnitrokey with Python
 To use libnitrokey with Python a [CFFI](http://cffi.readthedocs.io/en/latest/overview.html) library is required (either 2.7+ or 3.0+). It can be installed with:
-- 
2.18.0