Recent

Author Topic: How to make my Build options permanent for my Lazarus installation please?  (Read 914 times)

KodeZwerg

  • Hero Member
  • *****
  • Posts: 2000
  • Fifty shades of code.
    • Delphi & FreePascal
Good day, I did play around with several options today and liked that there is a configure button for the build modes so I did not loose time and set up my personalized settings and pressed APPLY.
It works pretty cool but problems arise as soon I open a different project, all my modes are gone.
When I do load the project where I set up all those me-defined settings, they show up again.

So my question is pretty easy, how do I make them permanent stay and not project based?
(that a project can bring its own choice of modes is okay but my defines should be always show up)
« Last Edit: Tomorrow at 31:76:97 xm by KodeZwerg »

dbannon

  • Hero Member
  • *****
  • Posts: 2750
    • tomboy-ng, a rewrite of the classic Tomboy
Re: How to make my Build options permanent for my Lazarus installation please?
« Reply #1 on: February 03, 2024, 07:18:26 am »
The modes (target cpu, OS, debug mode, binary name ?) are a characteristic of a project not a lazarus install. So, its a case of having to do them again for a new project. Might be nice to have a script that did create a predefined list of modes for a new project I guess ....

I have 23 build modes for my main app, really would not want that replicated for every other project I start.

Davo
Lazarus 2, Linux (and reluctantly Win10, OSX)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

KodeZwerg

  • Hero Member
  • *****
  • Posts: 2000
  • Fifty shades of code.
    • Delphi & FreePascal
Re: How to make my Build options permanent for my Lazarus installation please?
« Reply #2 on: February 03, 2024, 09:49:10 am »
I have 23 build modes for my main app, really would not want that replicated for every other project I start.
Out of the 23 I do assume that there are still some that you always use and that is my wish to make some permanent that cant be overwritten when loading a project or starting a new.
In my case it is pretty simple, 32&64 bit * release&debug = 4 :D
Of course it is not about targetname or resources/manifest/versioninfo etc, its about compiler settings aka build modes.
« Last Edit: Tomorrow at 31:76:97 xm by KodeZwerg »

dbannon

  • Hero Member
  • *****
  • Posts: 2750
    • tomboy-ng, a rewrite of the classic Tomboy
Re: How to make my Build options permanent for my Lazarus installation please?
« Reply #3 on: February 03, 2024, 10:37:36 am »
Well, there is a button that makes debug and release modes, I guess that could be extended to make 32 & 64 bit combos too.

But I think if I was asked, I'd think of a number of things I'd rather the devs spent their valuable time on. But if you code it up, I'd vote for it to be merged. Mind you, no one would care about my vote !

Davo
Lazarus 2, Linux (and reluctantly Win10, OSX)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

 

TinyPortal © 2005-2018