String variable expansion [message #487144] |
Tue, 22 September 2009 07:06 |
Eclipse User |
|
|
|
Originally posted by: drwowe.yahoo.com
How can I escape the dollar sign and curly braces in a string so Eclipse
doesn't try to variable-expand it? I need to pass "${SomeVariable}"
literally down into my Makefile but Eclipse keeps subtituting a blank
string (because SomeVariable isn't defined in Eclipse, it's defined by
the makefile itself)
I've tried the "usual" conventions with backslashes, double-dollar signs,
etc and it's not working yet.
Also is this kind of stuff documented anywhere?
|
|
|
|
Re: String variable expansion [message #487316 is a reply to message #487256] |
Tue, 22 September 2009 18:23 |
Eclipse User |
|
|
|
Originally posted by: drwowe.yahoo.com
On Tue, 22 Sep 2009 11:15:15 -0400, Eric Rizzo wrote:
>> How can I escape the dollar sign and curly braces in a string so
>> Eclipse doesn't try to variable-expand it? I need to pass
>> "${SomeVariable}" literally down into my Makefile but Eclipse keeps
>> subtituting a blank string (because SomeVariable isn't defined in
>> Eclipse, it's defined by the makefile itself)
>> I've tried the "usual" conventions with backslashes, double-dollar
>> signs, etc and it's not working yet.
>>
>> Also is this kind of stuff documented anywhere?
>
> This sounds like it is related to C/C++ development; if so, you might
> want to ask on the CDT newsgroup (eclipse.tools.cdt).
>
OK, I can post there if that's the most appropriate place, but I thought
string variables are handled by the main Eclipse platform? The question
isn't really about Makefiles and C programming per se, it's about how
Eclipse does string variable expansion and what the quoting rules are.
|
|
|
Powered by
FUDForum. Page generated in 0.04032 seconds