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.
This is my current draft that I'd like to use for the external wrap described in #5.
I don't want to increase the maintenance responsibilities related to build system support for you, so I think the best solution would be to submit this as an external wrap as discussed in #5.
I have created this PR to showcase the Meson build system I am working on. You can play around with it if you want. The library generation code is a bit uglier than normal for Meson (this would normally be handled by a single
library()call). I aim for parity with CMake build system, so I've had to create the library more manually (I think it is still readable though).This heavily depends on #8. I cannot proceed until that code appears in a released version of libcppgenerate. I didn't want to ask you to make a new release just for #8 because it doesn't fix any bugs or add any features. But I believe that the changes in #7 are release worthy.
By the way, my primary goal is to Meson-ify dbus-cxx. I first started working with libcppgenerate because it is an optional dependency of dbus-cxx. I will move on to dbus-cxx once my work here is done.
If you have any questions or suggestions, please comment here.