Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2007-06

Project building

6 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Darius Blaszijk

I'm already thinking a long time about creating a tool similar to ant. There is already fpmake which could be used to process information read from xml. Were there any plans ever to create a similar frontend?

Darius

Reply by email

Michael Van Canneyt
to Darius Blaszijk
Darius Blaszijk wrote
I'm already thinking a long time about creating a tool similar to ant. There is already fpmake which could be used to process information read from xml.

fpmake does not process any XML. On the contrary, we plan to get away from any XMl/ini/makefile format - all is done in 100% pascal code.

Were there any plans ever to create a similar frontend?

The current fpmake/fppkg setup is designed so it can be incorporated in any existing tool. In fact, when I created fpmake, I made it such way that it could easily be incorporated in a visual tool.

Michael.

Reply by email

Darius Blaszijk
to Michael Van Canneyt
Michael Van Canneyt wrote 11 lines
On Wed, 6 Jun 2007, Darius Blaszijk wrote: > I'm already thinking a long time about creating a tool similar to ant. There > is already fpmake which could be used to process information read from xml. > fpmake does not process any XML. On the contrary, we plan to get away from any XMl/ini/makefile format - all is done in 100% pascal code.

From what I understood from IRC, I thought so. My question then is, how are the fpmake.pp files compiled then? Do I need to invoke fppkg to build all of them in my sourcetree (separate project). Does this mean that my project is treated like a package?

Darius

Show quoted text 14 lines
> Were there any plans ever to create a similar frontend? > The current fpmake/fppkg setup is designed so it can be incorporated in any existing tool. In fact, when I created fpmake, I made it such way that it could easily be incorporated in a visual tool. Michael. _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email

Michael Van Canneyt
to Darius Blaszijk
Darius Blaszijk wrote 18 lines
Michael Van Canneyt wrote: > On Wed, 6 Jun 2007, Darius Blaszijk wrote: > > > > I'm already thinking a long time about creating a tool similar to ant. > > There > > is already fpmake which could be used to process information read from > > xml. > > > > fpmake does not process any XML. On the contrary, we plan to get away from > any XMl/ini/makefile format - all is done in 100% pascal code. > > From what I understood from IRC, I thought so. My question then is, how are the fpmake.pp files compiled then? Do I need to invoke fppkg to build all of them in my sourcetree (separate project). Does this mean that my project is treated like a package?

You have 2 options:

- compile and run fpmake yourself - you don't need fppkg for this. This is how it was tested.

- register your project as a package using fppkg, and then just do a fppkg build yourproject. The latest fppkg sources are now in such a state that they actually work.

Michael.

Reply by email

Vincent Snijders
to Michael Van Canneyt
Michael Van Canneyt wrote 5 lines
> - register your project as a package using fppkg, and then just do a fppkg build yourproject. The latest fppkg sources are now in such a state that they actually work.

I have my doubts about the working state. It cannot even build the RTL: C:\lazarus\source\fpc\2.3\rtl>fppkg build
Loading global configuration from "c:\fpc\2.3.1\bin\i386-win32\fppkg.cfg" Generating default compiler configuration in
"c:\fpc\2.3.1\bin\i386-win32\fppkg\
config\default"
The FPC make tool encountered the following error: Compiler returns invalid information, check if fpc -iV works

C:\lazarus\source\fpc\2.3\rtl>fpc -iV
2.3.1

C:\lazarus\source\fpc\2.3\rtl>fpc -iW
2.3.1-r7555M

Vincent

Reply by email

Darius Blaszijk
to Michael Van Canneyt: You have 2 options: - compile and run fpmake yourself - you don't need fppkg for this.…
Michael Van Canneyt wrote 32 lines
On Wed, 6 Jun 2007, Darius Blaszijk wrote: > Michael Van Canneyt wrote: > >> On Wed, 6 Jun 2007, Darius Blaszijk wrote: >> >> >> >>> I'm already thinking a long time about creating a tool similar to ant. >>> There >>> is already fpmake which could be used to process information read from >>> xml. >>> >>> >> fpmake does not process any XML. On the contrary, we plan to get away from >> any XMl/ini/makefile format - all is done in 100% pascal code. >> >> >> > From what I understood from IRC, I thought so. My question then is, how are > the fpmake.pp files compiled then? Do I need to invoke fppkg to build all of > them in my sourcetree (separate project). Does this mean that my project is > treated like a package? > You have 2 options: - compile and run fpmake yourself - you don't need fppkg for this. This is how it was tested.

Thanks but no thanks. I would need to place makefiles to compile all my fpmake files :)

Show quoted text 5 lines
- register your project as a package using fppkg, and then just do a fppkg build yourproject. The latest fppkg sources are now in such a state that they actually work.

How does that work?

Darius

Show quoted text 7 lines
Michael. _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email