https://github.com/kgilmer/vala-lib-example
A complete example of a Vala library and consumer projects using Meson.
https://github.com/kgilmer/vala-lib-example
build dependencies example meson vala
Last synced: about 1 month ago
JSON representation
A complete example of a Vala library and consumer projects using Meson.
- Host: GitHub
- URL: https://github.com/kgilmer/vala-lib-example
- Owner: kgilmer
- Created: 2020-02-17T04:03:26.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-17T04:18:17.000Z (about 5 years ago)
- Last Synced: 2025-01-30T07:30:17.528Z (3 months ago)
- Topics: build, dependencies, example, meson, vala
- Language: Meson
- Size: 1.95 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vala-lib-example
A complete example of a Vala library and consumer projects using Meson. This demonstrates the code and build files needed to produce and consume a library in Vala.
## Build
### Library
```bash
$ cd lib-producer
$ meson build
$ cd build
$ ninja install
```### Consuming App
```bash
$ cd app-consumer
$ meson build
$ cd build
$ ninja
$ ./app-consumer
my math: 4
```