-
Notifications
You must be signed in to change notification settings - Fork 26
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
Implement Meson build system. #73
base: master
Are you sure you want to change the base?
Conversation
1daa85c
to
8aa4406
Compare
c++ wraper is now optional. |
8aa4406
to
5b333ac
Compare
@cminyard is it possible to build gensio without libpam? setup_user doesn't seem to be protected with |
It doesn't need to be protected in the code, gtlsshd.c won't be compiled if libpam isn't present (on unix). So it is possible to compile without libpam, but gtlsshd.c won't be compiled then. |
I'm guessing one of the hardest things you will run into is the ability to exclude a gensio, compile it into the main library, or create a module for it. On an individual gensio basis. Have you thought about this? Everything else should be doable, I had most of it working with cmake at one point in time. |
Do you mean this feature? Will have to look at this. |
Yes, that's the feature. I was confused at first, the link in the email I got was something completely different. But the link here is right. Strange. |
My fault. The other link was in the buffer :-) It was an interesting TV series, though you cannot watch it without a subscription now :-( ModemManager seems to have the similar plugin architecture: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/blob/main/meson_options.txt?ref_type=heads#L21 |
On Wed, May 15, 2024 at 12:07 AM Yegor Yefremov ***@***.***> wrote:
My fault. The other link was in the buffer :-) It was an interesting TV
series, though you cannot watch it without a subscription now :-(
Ah, that's what happened. And I probably wouldn't understand it even if I
could watch it :-)
ModemManager seems to have the similar plugin architecture:
https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/blob/main/meson_options.txt?ref_type=heads#L21
Ah, good, you have something to steal from. That's always nice.
… Message ID: ***@***.***>
|
For the record, I started using meson on another project, and it's really an improvement over autotools and make. I'm all for this conversion with what I have learned. I won't have time to work on it in the near future, but if you are willing, I would be happy to take changes for this. |
Great to hear this. I'm also busy now. But I'll try to continue my porting effort. The best way would be to merge a minimally wokring set of meson files and then extend it step-by-step. But I still have basic stuff to implement. |
674b7b4
to
a4135da
Compare
Fix |
a4135da
to
3b9d0db
Compare
Set compiler warning level. |
Signed-off-by: Felix Kaechele <felix@kaechele.ca> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
3b9d0db
to
7253606
Compare
@cminyard I have implemented a concept of all-gensios for a subset of gensios. Let me know if it is woriking as expected. Then, I can complete it for other gensios. |
@cminyard forget about it. I thought too complicated :-) Stay tuned. |
31b7616
to
e4dbb96
Compare
This PR is my first attempt to convert the build system to meson based on @kaechele's work. One can compile the library but there is a lot of work to do as all dependencies are marked as required and needed to be converted to the
auto
type.