On Fri, 02 Nov 2007 13:56:31 -0300 Luiz Americo Pereira Camara <[EMAIL PROTECTED]> wrote:
> Mattias Gaertner wrote: > > On Fri, 2 Nov 2007 16:16:06 +0100 > > Milipili Houbi <[EMAIL PROTECTED]> wrote: > > > > > >> I miss something with Lazarus. Something quite usefull I think. > >> > >> I would like to be able to set multiple target, with different > >> compiler options and different defines at the compilation. > >> > >> It is possible to load/save the settings but it is not really easy > >> to use. > >> > >> There are obviously more important things to do right now but I > >> would like to know if there is something like that planned, > >> discussed, rejected for some reaons... > >> > > > > Yes, it is discussed from time to time. > > It is definitely planned. It is mainly a GUI problem. > > Perhaps it would be a good idea to start a wiki and collect some > > case studies, so the GUI designers know, what the GUI should manage > > and what not. > > > > > > Here's two cases where i need similar features: > > 1) Make possibly to define a package requirement as optional (Should > be available both to package and program). > Concrete situation: VirtualTreeView requires multilog package to help > debug code. In a release is not desired to have such dependency. > Currently in the release is necessary to remove the dependency from > the package, and then add again to reenable debugging. > An idea is to have groups of conditional requirements. Each group > would have a define value associated to be used at compile time > (e.g: 'DEBUG_CODE') and child packages. Each group would have a > enabled flag. If enabled flag is set, the child packages are added as > requirements and the define value used at compile time. > > 2)Make units packages/projects optional according to widgetset. > Concrete situation: LCL extensions package has a unit (OleUtils) that > implements TOLEStream. It only makes sense in win32. Currently the > unit is added in all widgetsets but all code is wrapped around a > ifdef Windows define so is seen as a dummy unit in other widgetsets. > > Let me know the wiki address to add these cases http://wiki.lazarus.freepascal.org/Conditional_Compiler_Options Mattias _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
