[Scons-users] dollar sign in source file path
Gilles CARRY
gilles.carry at st.com
Wed Feb 8 07:45:50 EST 2017
This works.
Thanks a lot Dirk.
On 02/08/2017 12:09 AM, Dirk Bächle wrote:
> Hi Gilles,
>
>
> please try to double the dollar signs, as in:
>
> Program('my$$main', 'my$$main.cpp')
>
>
> which works fine on my side.
>
>
> Best regards,
>
>
> Dirk
>
>
> P.S.: See also
> http://stackoverflow.com/questions/7159612/scons-prevent-text-expansion-in-construction-variable
> ...
>
>
> On 07.02.2017 16:50, Gilles CARRY wrote:
>> Hello,
>>
>> I have a bunch of source files having a '$' (dollar) sign in the path.
>> Unfortunately, I have no control over these files so I cannot rename
>> them.
>> When declaring these files as input files or dependencies (using
>> env.Command() or env.Depends() ) to build the target, I get this error:
>> scons: *** SyntaxError `unexpected EOF while parsing (<string>,
>> line 1)' trying to evaluate `$SOMETHING.class'
>>
>> [...]
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
More information about the Scons-users
mailing list