xsharp.eu • Global DEFINE
Page 1 of 1

Global DEFINE

Posted: Tue Aug 04, 2020 11:57 am
by softdevo@tiscali.it
Hi everyone.
I'm updating some of my applications and dlls to manage the transition from a MySql database to MariaDB.
For a period of time the two solutions will have to coexist.
The solution I have found is to condition the compilation with a: #DEFINE MariaDB.
The prgs that I have to modify are many.
To simplify my life, is there a way to communicate the DEFINE to the compiler once and for all, and not to write in the head of every #DEFINE MariaDb prg?

Thank you

Global DEFINE

Posted: Tue Aug 04, 2020 12:00 pm
by Chris
Hi Danilo,

Yes, just go to the app properties, Compiler page and in the general options box just enter

/define:MariaDB

Global DEFINE

Posted: Tue Aug 04, 2020 12:27 pm
by softdevo@tiscali.it
Thank you Chris.

Danilo