Welcome, Guest
Username: Password: Remember me
Please use this forum for suggestions to the XSharp Development Team
  • Page:
  • 1

TOPIC:

Global DEFINE 04 Aug 2020 13:57 #15439

  • softdevo@tiscali.it's Avatar
  • Topic Author


  • Posts: 156
  • 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

    Please Log in or Create an account to join the conversation.

    Global DEFINE 04 Aug 2020 14:00 #15440

    • Chris
    • Chris's Avatar


  • Posts: 2742
  • Hi Danilo,

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

    /define:MariaDB
    XSharp Development Team
    chris(at)xsharp.eu

    Please Log in or Create an account to join the conversation.

    Global DEFINE 04 Aug 2020 14:27 #15441

    • softdevo@tiscali.it's Avatar
    • Topic Author


  • Posts: 156
  • Thank you Chris.

    Danilo

    Please Log in or Create an account to join the conversation.

    • Page:
    • 1