Ability to send callback for setting an Environment() variable..

Bill Deegan <bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org>
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <CAEyG4CG2ikd3ApT=NgAeeAdbqCoriZYwhbZPeyzgVD0Y7=_Afw@mail.gmail.com>
Greetings,

Here's what I"m thinking.

env['CC'] = '/my/path/to/custom/gcc/version'

Would then call a method specified in the gcc tool.
This would allow (minimally) SCons to set the compiler version correctly.
For example:
env['GCCVERSION']='5.0.0'

Thoughts?

-Bill

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.