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 <[email protected]>wrote: > On Fri, Nov 23, 2012 at 12:47 AM, William Deegan < > [email protected]> 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 > [email protected] > http://two.pairlist.net/mailman/listinfo/scons-dev > > -- Gary
_______________________________________________ Scons-dev mailing list [email protected] http://two.pairlist.net/mailman/listinfo/scons-dev
