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.
--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus