Merge pull request #57 from XVilka/meson-build
This commit is contained in:
commit
32def19b9d
5 changed files with 107 additions and 2 deletions
13
README.md
13
README.md
|
|
@ -33,15 +33,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue