[Bf-committers] Scons can't define strings with spaces
Sergey Kurdakov
sergey.forum at gmail.com
Wed Jan 26 21:01:03 CET 2011
Hi Lars,
>> env['RCFLAGS'].append("-DTEST=\"a space\"")
>> env['RCFLAGS'].append("-DTEST=\"nospace\"")
>>
>> Gives:
>>
>> windres "-DTEST="a space"" -DTEST="nospace"
among scons docs there is a phrase:
string surrounded by double quotation marks is interpreted as a single
argument, regardless of white space contained within
so
env['RCFLAGS'].append(""-DTEST=\"a space\""")
might be what you are looking for ( not tested though )
Regards
Sergey
More information about the Bf-committers
mailing list