[Scons-users] exporting environment to SConscript

Evan Driscoll driscoll at cs.wisc.edu
Wed Jun 20 23:56:39 EDT 2012


On Wednesday, June 20, 2012 10:43:09 PM Evan Driscoll wrote:

> The 'exports' keyword argument can be a dictionary; I think something like

>

> SConscript(...., exports = {'env': 'env_linux_32_debug' })

>

> should work for you.


Sorry, just in case this wasn't clear, there shouldn't be quotes around the
value. By experiment, it's "exported name -> value", not "exported name ->
local name".

(Actually, what the dictionary should be isn't well-explained even on the
manpage.)

Evan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20120620/c1b14b99/attachment.htm>


More information about the Scons-users mailing list