[Scons-users] Newbie questions

Bill Deegan bill at baddogconsulting.com
Fri Apr 21 18:57:02 EDT 2017


Spencer,

Greetings and welcome!

So the underlying packages already had a SCons based build system?
Or did you generate one for each package and then are trying to wrap them
with a SConstruct on top?

Also what platform? Which version of python? Which version of SCons?


-Bill

On Fri, Apr 21, 2017 at 1:22 PM, Spencer Yost <syost at triad.rr.com> wrote:

> I am setting up a new development environment for work, and I am seriously
> looking at SCons as a replacement for our Frankenstein build system that we
> currently have. I like what I see so far but I'm having some trouble
> understanding the underlying architecture.
>
> Note1:  I have been experimenting quite a bit, and I have read the users
> guide and man pages
>
> Note 2:  I'm an experienced C and C++ developer  but I've never touched
> Python  before.
>
> Note 3:  Our code base has approximately 10K-15K files, found in several
> hundred packages in a hierarchical reverse domain organization.  This is
> set up in one git repository.
>
> So I installed Scons on my Ubuntu laptop and SCons builds a lot of
> packages out of box quite nicely.
>
> But some files and packages need to be treated specially before they can
> be built.   The Sconstruct  file (originally generated by SConsolidator in
> eclipse) appears like scons will look for sconscript files  in each
> individual package, but it doesn't.  Any SConscript file I place in an
> individual package for extra processing, does not appear to be read.
>
> The only way I seem to be able to build a package with an SConscript file
> is to also create an SConstruct file, and build using that package as my
> current base directory.
>
>
> Am I mistaken? Should I not be able to include a separate SConscript file
> in each package for the individual needs of the individual package yet
> initiate the build from the top of the hierarchy?
>
> Thanks in advance!
>
> PS:  Same thing happens if I try to build from Eclipse with SConsolidator.
>
> Spencer Yost
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20170421/714e10fc/attachment-0001.html>


More information about the Scons-users mailing list