Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Meson is a next generation buildsystem with many advantages:
If you like this for qalculate-gtk I wouldn't mind doing the same port for libqalculate.
A few notes:
The build with GCC10 seems to fail currently, compiling with clang 10 works just fine though so I'm not sure if this is caused by this change. The error is:
qalculate-search-provider
to libexec which is a more fitting dir for this IMHO. We can install it to lib too though, if you prefer that._
meson expects variables to not have special prefixes. That change would break the current Autotools i18n setup, I suppose.Other than that, meson should produce the same output as autotools does currently, but I can't test this on Windows (it should work just as well or even better though).
I haven't tested
ninja -C build dist
output yet, I can look into that in a bit.