Apply patch 6. Cleanup syborg specific variation by allowing the project file to build one specially for it. Fix include macros for test apps. Further tuning how the variant is build appears in later patches. Explicitly including platform_paths seems to make debugging easier for carbide. This might be removed if its bad practice or causes issues.
Apply patch 4. Fix the stub generator to insert proper license text in autogenerated output.
I left out the result of running this script due to a comment earlier to say there was a problem with the def files in my original patch.