Marc Santhoff schreef:
Hi,
I know this is a question regarding fpc and lazarus, but I decided to
post to this list:
If one would want to run the complete sources of a project through a
preprocessor transparently when compiling in the lazarus IDE, would this
be possible with fpc and lazarus as they are now?
Or will it take implementing some pipeline hooks or the like in one or
both of them?
The goal in doing so would be using a specialized macro processor
replacing tags in the source code before feeding through fpc.
You could call the preprocessor in a before compilation command, see
Project -> Compiler Options -> compilation tab.
The complete sources thing will be the tricky part. The compiler knows
what the complete sources are and the IDE knows what is part of a
project. But your preprocessor doesn't know (or maybe it does, if you
pass it the lpi file).
Vincent
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives