Skip to content

playground/swig: clean up java swig example

Federico Pellegrin requested to merge fedepell/waf:swig_java_pg_example into master

I have been working on JAVA+SWIG with waf and found the playground code to be quite intricate and not very clear, as it moves around files, creates build groups and extends on the fly functionalities for the extra.

I tried to create a simpler and clearer example from the experience on my project and proposing as PR for others.

Basically instead of moving files back and forth the whole thing relies on task ordering in a similar fashion that it is done for other code generators (ie. protoc). I tried to kept the code simple without totally optimizing (ie. separate the directories where stuff is generated) to make it clearer to the users.

Hope it looks helpful!

F.

Merge request reports