[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] sip macro expansion
From:       Phil Thompson <phil () river-bank ! demon ! co ! uk>
Date:       2003-01-25 16:32:01
[Download RAW message or body]

On Saturday 25 January 2003 4:13 pm, Michael Lauer wrote:
> Hi Phil,
>
> is it possible to escape a '$' as part of a sip .pro-file template?
> E.g. if I want to have a line like LIBS = $$(PRESIP_LIBS)
> (which is a valid qmake construct) to appear in my .pro file, sip
> swallows the first $ because of the macro expansion. If I try with
> $$$(PRESIP_LIBS) it complains about an invalid macro. Is there a way to
> get $$(BLAH) into the resulting .pro - file?

Use a pair of $ for every single $ you want in the output, ie. $$$$(BLAH).

Phil

_______________________________________________
PyKDE mailing list    PyKDE@mats.gmd.de
http://mats.gmd.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic