Global DEFINE

We encourage new members to introduce themselves here. Get to know one another and share your interests.
Post Reply
User avatar
softdevo@tiscali.it
Posts: 191
Joined: Wed Sep 30, 2015 1:30 pm

Global DEFINE

Post 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
User avatar
Chris
Posts: 4906
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Global DEFINE

Post 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..
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
User avatar
softdevo@tiscali.it
Posts: 191
Joined: Wed Sep 30, 2015 1:30 pm

Global DEFINE

Post by softdevo@tiscali.it »

I am switching all my apps and dlls from mysql to MariaDb. This would be very useful.
Danilo
User avatar
Chris
Posts: 4906
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Global DEFINE

Post by Chris »

HI Danilo,

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

XSharp Development Team
chris(at)xsharp.eu
User avatar
softdevo@tiscali.it
Posts: 191
Joined: Wed Sep 30, 2015 1:30 pm

Global DEFINE

Post by softdevo@tiscali.it »

Hi Chris,
is it possible an item in XIDE.cfg, so that it works in all projects?
Danilo
User avatar
Chris
Posts: 4906
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Global DEFINE

Post by Chris »

Hi Danilo,

OK, I will do it this way then!
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
User avatar
softdevo@tiscali.it
Posts: 191
Joined: Wed Sep 30, 2015 1:30 pm

Global DEFINE

Post by softdevo@tiscali.it »

Thanks, you are great !!!!!!!!!!!!!!!!!!!!!!!

Danilo
User avatar
Chris
Posts: 4906
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Global DEFINE

Post by Chris »

:)
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
Post Reply