[Scons-users] passing variables on the command-line

William Blevins wblevins001 at gmail.com
Fri Jun 17 18:11:30 EDT 2016


Stefan,

I would argue that the right thing here isn't always the same. Sometimes
you may want a string with spaces (IE. some windows paths can have spaces).

V/R,
William

On Fri, Jun 17, 2016 at 10:59 PM, Bill Deegan <bill at baddogconsulting.com>
wrote:

> Can you create a minimum working example of the config check + string
> CFLAGS for me to take a look at?
> That'll help me recommend whether to file a bug or not.
>
> -Bill
>
> On Fri, Jun 17, 2016 at 12:24 PM, Stefan Seefeld <stefan at seefeld.name>
> wrote:
>
>> On 17.06.2016 14:36, Bill Deegan wrote:
>> > Gotcha.
>>
>> Should I file a bug report for this ? It seems plausible to expect SCons
>> to Do The Right Thing, i.e. either join strings with a whitespace, or
>> convert the variable into a list. The current behavior isn't useful.
>>
>>         Stefan
>>
>> > -Bill
>> >
>> > On Fri, Jun 17, 2016 at 11:30 AM, Stefan Seefeld <stefan at seefeld.name
>> > <mailto:stefan at seefeld.name>> wrote:
>> >
>> >     On 17.06.2016 14:27, Bill Deegan wrote:
>> >     > It is valid to have CFLAGS as a string.
>> >
>> >     In my case that resulted in errors, as my configure checks would
>> >     append
>> >     flags, so the resulting value of CFLAGS was the invalid
>> >     '-Wall-pthread'
>> >     string, rather than any of the valid '-Wall -pthread' or ['-Wall',
>> >     '-pthread'] values.
>> >
>> >             Stefan
>> >
>> >     --
>> >
>> >           ...ich hab' noch einen Koffer in Berlin...
>> >
>> >     _______________________________________________
>> >     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
>>
>>
>> --
>>
>>       ...ich hab' noch einen Koffer in Berlin...
>>
>> _______________________________________________
>> Scons-users mailing list
>> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20160617/2d57c082/attachment-0001.html>


More information about the Scons-users mailing list