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.
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 alsocmake
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 inbuild
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 :)