[Scons-users] Hi everyone

William Blevins wblevins001 at gmail.com
Tue Jun 28 19:20:37 EDT 2016


Welcome :)

On Tue, Jun 28, 2016 at 8:58 PM, Steven Truppe <steven.truppe at chello.at>
wrote:

> 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>
> 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
>>
>
>
>
> _______________________________________________
> Scons-users mailing listScons-users at scons.orghttps://pairlist4.pair.net/mailman/listinfo/scons-users
>
>
> Thanks for your tip !
>
> _______________________________________________
> 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/20160629/edd21ae7/attachment.html>


More information about the Scons-users mailing list