[fpc-pascal] How to handle fpc.cfg on Ubuntu with 3.0.4 and 3.2.0 co-existing?
Graeme Geldenhuys
mailinglists at geldenhuys.co.uk
Tue Feb 9 01:37:01 CET 2021
On 08/02/2021 11:53 pm, Bo Berglund via fpc-pascal wrote:
> I assume if this is left as is as $(CompPath) it will use the globally defined
> compiler 3.2.0, but if changed will use the project defined compiler instead.
Yes, everything you stated is correct. I find that setting the global option is
quicker (less user steps). But again, that depends on your needs. If certain
project are only going to use a certain compiler version, then I guess setting it
in the Project Options would be better suited for your needs.
The projects I work on are compilable with all FPC versions. So for my needs,
changing the global compiler options is more convenient.
What is nice with MSEide, is that I can configure project or global macros that
define my compiler version (and other stuff). I can have keyboard shortcuts to
switch between those macro groups. I can also have desktop shortcuts that when
they launch MSEide, it configures the FPC version macro via a ide command line
parameter. MSEide starts up instantly, so even closing and reopening the IDE with
a different FPC version enabled is super fast.
Regards,
Graeme
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
My public PGP key: http://tinyurl.com/graeme-pgp
More information about the fpc-pascal
mailing list