Re: Delphi language support in CMake build system
- From: Marco van de Voort <marcov@xxxxxxxx>
- Date: Sat, 18 Oct 2008 10:21:02 +0000 (UTC)
On 2008-10-17, eric.lemings@xxxxxxxxx <eric@xxxxxxxxxxx> wrote:
Cross-posted from CMake's mailing list <http://www.cmake.org/pipermail/
cmake/2008-October/024670.html> so that Delphi experts might possibly
answer the "intermediate translation" problem below:
Delphi, as I've just discovered, is quite different from the familiar
C/C++ compile/link phases assumed by CMake. For example, different
types of Delphi source files produce different types of output files
as shown below:
I think that is the least of your problems. The real problem you see is
that, is the autobuilding aspect.
You can see that if you create a few more empty units like "unit c", and
then put uses C,c1,c2,c3; into the D.pas file just after the "program"
line.
Then compile D, and you will see c..c3 auto built.
In general, with Delphi/FPC, make file systems are mostly only useful to
script external processing and various build directories together.
If you want a non trivial example, see how the main FPC/Lazarus trees work
with gmake. (and be quick, since gmake use will be eliminated soon I hope)
.
- Follow-Ups:
- Re: Delphi language support in CMake build system
- From: eric.lemings@xxxxxxxxx
- Re: Delphi language support in CMake build system
- References:
- Delphi language support in CMake build system
- From: eric.lemings@xxxxxxxxx
- Delphi language support in CMake build system
- Prev by Date: Re: Pascal analyzer - Yacc?
- Next by Date: Re: Pascal analyzer - Yacc?
- Previous by thread: Re: Delphi language support in CMake build system
- Next by thread: Re: Delphi language support in CMake build system
- Index(es):