On Fri, 18 Feb 2011 20:54:29 -0500
waldo kitty <[email protected]> wrote:

>[...]
> > You can define a second build mode "release" and enable whatever 
> > optimization
> > you think is appropriate for your customers.
> 
> i recently ran into this in plain FPC when i switched from DEBUG to RELEASE 
> mode 
> and had to re-enter the unit and include directories the project i'm working 
> on 
> needed... it was a bit of a shock to have them "lost" when switching modes 
> but a 
> quick look in the fpc.cfg showed me the problem :)  no clue if this also 
> applies 
> to lazarus, though... i've not even attempted to use laz's graphical 
> environment 
> for this particular console only tool build...

When you create a new build mode in Lazarus the current one is copied.

When you add unit paths, they are not automatically copied to the other
build modes. There is a dialog showing the differences between the build
modes.


Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to