-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port build system to meson #6
base: main
Are you sure you want to change the base?
Conversation
This means that we can finally build a shared library correctly without to much hassle and will be able to use pkgsStatic as well (provided we fix the dependencies upstream). redo is nice, but, while its dependency tracking is better, you end up scripting a lot in a lot of different places.
We'll be able to use this for the Haskell bindings and will ease packaging in general.
buchstabensuppe.h already included bitmap.h, flipdot.h was the only independent one. Since it is relatively simple and contains generally useful view manipulation routines, we can merge it into the main one as well.
3035bf7
to
0d5a14d
Compare
.dep** | ||
.target.* | ||
.lock.* | ||
/build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good news, even this single line is unnecessary: https://mesonbuild.com/FAQ.html#how-do-i-ignore-the-build-directory-in-my-vcs
:)
harfbuzz = dependency('harfbuzz') | ||
# TODO: no pkg-config upstream, maybe ask for it? | ||
schrift = cc.find_library('schrift') | ||
math = cc.find_library('m') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On some platforms, the math library is built into libc. We suggest you use required: false
here:
https://mesonbuild.com/howtox.html#add-math-library-lm-portably
No description provided.