Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-01

Build modes not saved in default compileroptions?

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bart

Hi,

A while ago I added buildmodes to one of my projects ("Release" and "Debug") with 2 different sets of options for code-generation and linking.
I then told the IDE to use these compileroptions for all my new projects. This worked fine, all my new projects now had my 2 build modes.

However, this seems no longer the case.
I have to re-define my build modes in every new project I make.

I'm currently using r34334 with fpc 2.6.0.

Bart

Reply by email

Mattias Gaertner
to Bart
Show quoted text 7 lines
Hi, A while ago I added buildmodes to one of my projects ("Release" and "Debug") with 2 different sets of options for code-generation and linking. I then told the IDE to use these compileroptions for all my new projects. This worked fine, all my new projects now had my 2 build modes.

Maybe you used Save Project As?

However, this seems no longer the case.

It was never implemented. Only the active build mode was saved (one set of compiler options).

I have to re-define my build modes in every new project I make.

I implemented it.
When the checkbox 'Use these ... as default' is checked the IDE now saves all build modes and will use them for new projects.

I'm currently using r34334 with fpc 2.6.0.

Mattias

Reply by email

Bart
to Mattias Gaertner
Mattias Gaertner wrote
On Mon, 2 Jan 2012 16:46:54 +0100 It was never implemented. Only the active build mode was saved (one set of compiler options).

I must have been delirious then, because that is how I remember it, and being excited that it did that. Too much Lazarus makes you high ... ?

I implemented it. When the checkbox 'Use these ... as default' is checked the IDE now saves all build modes and will use them for new projects.

Thanks for implementing my hallucinations!

Bart

Reply by email