From 53f6def21b7d4028519656b73f95f72849daac59 Mon Sep 17 00:00:00 2001 From: Anton Kochkov Date: Sun, 23 Apr 2023 17:08:26 +0800 Subject: [PATCH] Add Meson building instructions in README --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6142a1a..8a36575 100644 --- a/README.md +++ b/README.md @@ -23,15 +23,24 @@ capnpc compiler/test.capnp -oc ## Building on Linux ```sh -git clone https://github.com/opensourcerouting/c-capnproto +git clone --recurse-submodules https://github.com/opensourcerouting/c-capnproto cd c-capnproto -git submodule update --init --recursive autoreconf -f -i -s ./configure make make check ``` +## Building with Meson + +```sh +git clone --recurse-submodules https://github.com/opensourcerouting/c-capnproto +cd c-capnproto +meson setup build +meson compile -C build +build/capn-test +``` + ## Usage ### Generating C code from a `.capnp` schema file