[Scons-users] dollar sign in source file path
Dirk Bächle
tshortik at gmx.de
Tue Feb 7 18:09:23 EST 2017
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'
>
> [...]
More information about the Scons-users
mailing list