[Scons-dev] SConstruct processing order
Gary Oberbrunner
garyo at oberbrunner.com
Mon Nov 26 13:19:59 EST 2012
There was a discussion of this a year or two ago. Steven and I worked out
a scheme, but the part we got stuck on is that tools modify the
environment. People expect, for instance, if they say
env.Append(CXXFLAGS='-xyz') that that will actually go at the end. Making
that work if the tool hasn't set up its default CXXFLAGS yet seems very
difficult.
On Mon, Nov 26, 2012 at 12:07 PM, anatoly techtonik <techtonik at gmail.com>wrote:
> On Fri, Nov 23, 2012 at 12:47 AM, William Deegan <
> bill at baddogconsulting.com> wrote:
>
>> The question I ask is because SCons tries detecting Visual Studio on
>> Windows even if I don't use C++ compiler and SConstruct is empty.
>>
>>
>> Yes, that's part of the default environment object being created..
>>
>>
>> Should the Tools do their checks after they are actually used in
>> dependency tree?
>>
>>
>> By "should" do you mean "the current could will do this", or do you mean
>> "it would be better to change scons to do it this way"?
>>
>
> The latter, actually. I prefer to use MinGW on Windows, but I can't
> understand SCons initialization logic. Is there a reason that it tries to
> push as much as possible to the default environment?
> --
> anatoly t.
>
>
> _______________________________________________
> Scons-dev mailing list
> Scons-dev at scons.org
> http://two.pairlist.net/mailman/listinfo/scons-dev
>
>
--
Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/scons-dev/attachments/20121126/ccf88524/attachment.html>
More information about the Scons-dev
mailing list