xsharp.eu • Global DEFINE
Page 1 of 1

Global DEFINE

Posted: Wed Aug 19, 2020 10:36 am
by softdevo@tiscali.it
Hi everyone,
is there a way in XIDE to set a DEFINE once for all projects and all applications?
Thank you

Danilo

Global DEFINE

Posted: Wed Aug 19, 2020 10:50 am
by Chris
Hi Danilo,

No, but I could add such a feature. Do you need it, in order to be able to easily add one define to all apps and then easily remove it again when you want?

maybe another option would be to create a new build configuration. In addition to "Debug" and "Release", you can create another one, named for example "WithDEFINE". You can then set the compiler options in this build configuration to set the define and in others not, and in this way you can very easily compile with our without it and have the IDE create the dlls in different folders for each configuration..

Global DEFINE

Posted: Wed Aug 19, 2020 12:20 pm
by softdevo@tiscali.it
I am switching all my apps and dlls from mysql to MariaDb. This would be very useful.
Danilo

Global DEFINE

Posted: Wed Aug 19, 2020 2:10 pm
by Chris
HI Danilo,

OK, I will add an option in the Project properties and will send you an update.

Global DEFINE

Posted: Wed Aug 19, 2020 3:57 pm
by softdevo@tiscali.it
Hi Chris,
is it possible an item in XIDE.cfg, so that it works in all projects?
Danilo

Global DEFINE

Posted: Wed Aug 19, 2020 4:26 pm
by Chris
Hi Danilo,

OK, I will do it this way then!

Global DEFINE

Posted: Wed Aug 19, 2020 4:30 pm
by softdevo@tiscali.it
Thanks, you are great !!!!!!!!!!!!!!!!!!!!!!!

Danilo

Global DEFINE

Posted: Wed Aug 19, 2020 5:03 pm
by Chris
:)