Before compile

Giganews Newsgroups
Subject:Before compile
Posted by: Leonardo M. Ramé (martinra…@yahoo.com)
Date:Wed, 17 Dec 2008

Hi, Is CG thinking of adding something like a preprocessor to the Delphi
compiler. What I'm thinking of is the possibility to execute a command
just before the compilation starts.

For example:

  dcc32 --execbefore preprocessor.exe myapp.dpr

The program preprocessor.exe just parses myapp.dpr and send its result
to the real compiler.

This could be a great advance, simplier than modifying the compiler to
add new features.

Leonardo.

Replies