[Scons-users] Storing object files in different directory

Christopher Dimech dimech.christopher at gmail.com
Sat Oct 11 13:01:51 EDT 2014


I can try the SConscript way, see what I get.

On 11 October 2014 17:56, Gary Oberbrunner <garyo at oberbrunner.com> wrote:

> On Sat, Oct 11, 2014 at 12:33 PM, Christopher Dimech
> <dimech.christopher at gmail.com> wrote:
> > This SConscript scheme looks similar like recursive
> > makefiles, which is not much to my liking.
>
> It may _look_ like it, but it is not at all the same thing.  Not even
> close.  SCons builds a single global dependency graph from all the
> SConstruct and SConscripts (as well as scanning for implicit
> dependencies like header files), then executes that graph by using its
> global knowledge to build the minimal necessary set of targets.
>
> A SConscript per directory just helps with modularity; if you add a
> source file or change the build options for a single lib, you only
> have to change those build instructions in one place.
>
> --
> Gary
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>



-- 
Christopher Dimech
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20141011/9d6e68a9/attachment.html>


More information about the Scons-users mailing list