[Scons-users] Hi everyone
Steven Truppe
steven.truppe at chello.at
Tue Jun 28 15:58:11 EDT 2016
Am 2016-06-28 um 02:55 schrieb William Blevins:
> 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 <mailto: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 <mailto:Scons-users at scons.org>
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
>
>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
Thanks for your tip !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20160628/ec816ce5/attachment.html>
More information about the Scons-users
mailing list