[Scons-users] Hi everyone

William Blevins wblevins001 at gmail.com
Mon Jun 27 20:55:40 EDT 2016


Steven,

Here is a link to the User Guide section:
http://www.scons.org/doc/HTML/scons-user/ch10s02.html

The only way the guide uses the variables is through subst calls (IE.
"$VAR") and by constructing an environment with the variables as a
parameter which should give you access via env['VAR'] I would assume.

V/R,
William

On Mon, Jun 27, 2016 at 11:35 PM, Steven Truppe <steven.truppe at chello.at>
wrote:

> Hi,
>
> i really felt in love with SCons a little while ago but i still can't
> master it, i hope this mailing list will open my eyes.
>
> one question for the beginning would be how can i check the content of
> Variables ?
>
> for example:
>
> v= Variables('custom.py')
> v.Add(EnumVariable('build', 'Set debug or release build', 'debug',
> allowed_values=('debug','release')))
> v.Add(EnumVariable('arch', '32 for 32bit or 64 for 64 bit', '64',
> allowed_values=('32','64')))
>
> Now my question is how can i get the info which was set ??
> for example how can i check if a debug or release build was set ???
>
> _______________________________________________
> 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/20160628/aebc5c1d/attachment.html>


More information about the Scons-users mailing list