[Scons-dev] Extended Configure

Brad K computerpro_58 at hotmail.com
Thu Nov 1 15:34:28 EDT 2018


Hello,
   Recently, while creating the build scripts for a new project that contains some specific dependencies (needed libraries, specific compiler, etc.) I wrote an SCons tool to simplify (and generally make nicer) the front end of Configure (extended the internal Configure() class accordingly). The gist of what I was aiming for was something more auto-configurable (i.e. For building targets X, Y or Z provide a list of tools and allow the build scripts/system to determine if these tools are enough to correctly build the specified targets).

I've adjusted the build scripts for an older project and tossed it up on GitHub for reference (the applicable tool is in 'Tools/SCons/ConfigureEx.py')

Thought this might be useful for someone else (or perhaps an implementer looking to accomplish 'https://github.com/SCons/scons/wiki/RevampToolsSubsystem').

GitHub Repository:
https://github.com/simplejack-src/cnc1

Thanks,
Brad


More information about the Scons-dev mailing list