Skip to content

Conversation

@ebraminio
Copy link

@ebraminio ebraminio commented Jan 10, 2022

As this project didn't had a proper build system for its Unix target I thought it would be a good chance to contribute something and learn in the meanwhile. Adopting a new build system is a controversial decision (just like any new thing) thus am not expecting this to be merged or anything just that I though maybe would be nice to share it with you now that I did it for my personal use.

Meson, nowadays used by many popular low level libraries https://mesonbuild.com/Users.html is one good option for a system that supports creation of Visual Studio project files along its native ninja (the reengineered make) support. There is also cmake that is more natively supported in Visual Studio but somehow I prefer meson over it.

As this project, published along your book, understandably doesn't have a license thus is fully copyrighted, if you think if is needed for this very small file, I hereby fully donate this small work to you as a token of appreciation for your awesome work :)

To use this, you should first install meson, then execute meson build to make meson to generate ninja files in build folder, then execute, ninja -C build.

The first advantage of this over you current manual build script is the fact it does incremental build which is better in the development process.

Hope you like this and thanks :)

@cosinekitty
Copy link
Owner

I will take a look at this and study more about meson. It does sound interesting, especially if it can help unify the build process for C/C++ programs across Linux, macOS, and Windows. The other languages are much more OS independent currently, so that would be nice. What I have to do now to build C/C++ programs on Windows is unpleasant. There are a few other things I will be focused on first, before I get to this.

On another topic, do you happen know anything about creating pip packages for Python? I added issue #64 about this, because I believe it would help Python developers use Astronomy Engine.

@ebraminio
Copy link
Author

ebraminio commented Jan 10, 2022

I have a package that is yet to be published in pip ebraminio/aiosseclient#8 as didn't know how, I will try to do that first and see how can I help you :)

@ebraminio
Copy link
Author

Okay, just uploaded my first python package in pip, now let's see what is missing on your side :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants