Re: My Top 3 Delphi wishes



Peter Morris [Droopy eyes software] wrote:

I would like to be able to specify compiler options + conditional defines on
a project group level and have that applied to each project within the group.
I just want to set my conditional define "DEBUG" or "RELEASE" on the whole
group + build rather than having to set it individually on each project.

I would like this if implemented where project group options overrode individual project options. But I wouldn't want a change to the project group options to actually change the projects contained in the group. I may have the same projects in different project groups. The idea being that the project groups could be setup for different build types (debug vs release as an example).

I would also like compiler directives within the project source to propagate
to all units being compiled unless overridden within the unit itself by
redeclaring it.

Can't this be achieved by setting the compiler directives in the project options? Most project options are not stored in the project source. And personally, I wish the ones that are, weren't.

If this were implemented, it would break backwards compatibility. I'd want the new functionality to use different syntax, such as {$$ or something.

Jon
.