Page 1 of 1

(done) setting the default compiler and optimization in ide

Posted: Wed Jul 28, 2021 6:19 pm
by nsstudios
Considering we have the c back-end compiler now, and x86 and x64 editions, it would be very nice if we could set a specific compiler as default that would be used for most compilations.
E.g., if most of my compilations are done with the c back-end compiler, then I could set it as default and change it for the minority of projects that need the different one, or if having a separate compiler is just a temporary solution, then a case where I use 32 bit ide but use the 64 bit compiler for most projects.
It could be an addition to the defaults section of the preferences, and would make it a lot nicer than having to switch every new project to the prefered compiler and optimization setting.

Re: setting the default compiler and optimization in ide

Posted: Tue Nov 30, 2021 4:26 am
by DeanH
+1

Re: setting the default compiler and optimization in ide

Posted: Tue Nov 30, 2021 7:47 am
by Bisonte
+1

Re: setting the default compiler and optimization in ide

Posted: Tue Nov 30, 2021 9:48 am
by hoerbie
+1
Would be helpful when the C compile way is really long term stable, but also now for example to set it only on a different testing computer etc. without need to save it in every source.

Re: setting the default compiler and optimization in ide

Posted: Thu Dec 02, 2021 12:14 am
by freak
I have created a PR with an implementation for this here: https://github.com/fantaisie-software/p ... c/pull/186
You can test it out and give feedback before it is merged if you want.

Re: setting the default compiler and optimization in ide

Posted: Mon Dec 27, 2021 11:07 pm
by nsstudios
Awesome! Thanks!
It looks good (I've checked out only the source because I have a hard time compiling it, but can't wait for it to be in one of the next versions!)