Saturday, 24 August 2013

Can I direct Delphi compiler to look for unit files with suffixes other than '.PAS'?

Can I direct Delphi compiler to look for unit files with suffixes other
than '.PAS'?

I'd like to avoid renaming all of existing Pascal ('*.P') and
Object/Extended Pascal ('*.PP') units to the Borland's default suffix
'.PAS' since other tools are depending on them. Compiling units one-by-one
specifying full file name works fine, but I've noticed what it renders
Build and Make modes to incorrect behaviour - compiler acts as there is no
source file present, so it processes neither all dependent units nor
modified ones. Please advise.



Note: It is not always possible to resort to the uses Fooes in 'Fooes.p',
Bars in 'Bars.p'; syntax.

No comments:

Post a Comment