SKETCH: a build generator for ags command line tools #2770
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 just a sketch, the idea is to output a makefile or ninja-build that can be run with make/ninja and build an ags game using the command line tools and the game Game.agf project file. My goal for ninja is it is a nicely self contained executable that could be shipped easily, but I guess some people may prefer make so I thought to come up with some general "architecture" with the idea that there could be some code reuse but this didn't happen for real yet.
Note this can't actually build a game yet since some necessary tools don't exist yet.
Consider the code a huge sketch. Most of the comments are from my thought process.
We can decide we don't want this, but writing this helped me understand all the necessary steps to build a game with command line tools and exercise what is written in the wiki (see https://github.com/adventuregamestudio/ags/wiki/AGS-Game-Build-process-(3.5.*)).