[Lazarus] Project defined Macros?

Juha Manninen juha.manninen62 at gmail.com
Mon Jun 22 14:38:52 CEST 2015

On Mon, Jun 22, 2015 at 12:39 PM, Michael Schnell <mschnell at lumino.de> wrote:
> We can add another "target" Override but here is no selection for the
> different Targets (Archs and OSes) we might want to compile for. (Even
> though if the IDE runs in Linux you can select "win32" as "LCL Widget Type"
> in the dropdown box.)
> Is the Arch and OS setting done in another page or do you need to just know
> what you need to set if compiling for another CPU or OS Target but the
> default one.
> (Of course you need to have the appropriate FPC (cross) version installed to
> take advantage of this).

I haven't done cross-compilation really myself. I have only used the
"Additions and Overrides" page for setting a define for the project +
all dependent packages. It worked well for that.
Indeed this page is intimidating and maybe could be improved. I don't
know exactly how.

Still I think you confused "Build modes" with "Additions and
Overrides". They are very different things. A build mode contains all
compiler options, including the "Additions and Overrides" part.


More information about the Lazarus mailing list