[fpc-pascal] Including binary data making easy

Michael Van Canneyt michael at freepascal.org
Mon Mar 23 18:18:46 CET 2009



On Mon, 23 Mar 2009, Marco van de Voort wrote:

> In our previous episode, John Coppens said:
> > 
> > > I have been using bin2obj for two years now. It works perfectly for
> > > me, even though it's a (occasional) two step process. My application
> > > changes more than the resource I include.
> > 
> > ... and you can add the conversion into the Makefile, so the conversion
> > happens automatically when the data changes.
> 
> Which makefile? For own projects I typically don't use any. 

In Lazarus, you can create a pre-compile command that does it for you, so
you'll never forget.

Michael.



More information about the fpc-pascal mailing list