[Lazarus] Project Session info question
Michael Van Canneyt
michael at freepascal.org
Wed Dec 4 23:26:31 CET 2024
On Thu, 5 Dec 2024, n7800 via lazarus wrote:
>
> In the Project Options window there is a checkbox in the corner called "Set compiler options as default", but as the name suggests it does not save the options from the "Project Options" category, which is where your setting belongs.
>
> So I can only recommend you to use "Project Templates". It is more complicated, but it even allows you to customize what your default main file will look like and much more.
>
> https://wiki.freepascal.org/Project_Templates
I thought of this (I wrote the Project Templates functionality, after all...),
but as far as I know a template project cannot be set as a 'default project'
at startup.
I have 'Simple program' as the startup project.
Hm. Maybe I should simply create a descendant of the 'simple program' class and see if I
can change the setting in code. Then I can set that as my start project...
In each case, it seems to me that the other settings (not compiler related)
also should be settable as default.
Michael.
More information about the lazarus
mailing list