On Tue, 24 May 2011 08:51:52 +0200 Graeme Geldenhuys <graemeg.li...@gmail.com> wrote:
> Hi, > > My one project uses 5 packages. If I want to create a release version, > must I set the Project + the 5 packages all to "release build profile" > and then recompile each one? > > Or is it sufficient to only change the Project's build mode to > "release"? [leaving the 5 package's compiler settings as-is] There are several possibilities. You can define a macro which is appended to all your packages and/or you can define for each package its own release mode. http://wiki.lazarus.freepascal.org/Macros_and_Conditionals#A_release.2Fdebug_mode_for_your_project_and_all_your_packages You need a current svn version for this. Mattias -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus