HISE Logo Forum
    • Categories
    • Register
    • Login

    plug-ins vs standAlones

    Scheduled Pinned Locked Moved General Questions
    6 Posts 3 Posters 320 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • LindonL
      Lindon
      last edited by

      Is there some sort of compiler flag/pragma I can use to add/ remove cod e depending on the compile I'm doing?

      Theres a bunch of settings stuff that only applies to stand-alones and right now I'm having to keep two versions of my product: plug-in and standAlone...

      HISE Development for hire.
      www.channelrobot.com

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @Lindon
        last edited by

        @Lindon yes, use Engine.isPlugin(); in an if statement.

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        LindonL 1 Reply Last reply Reply Quote 0
        • LindonL
          Lindon @d.healey
          last edited by Lindon

          @d-healey Ok missed that thanks. but not quite what I wanted. I actually wanted to remove some code from the code base (or conditionally add it in..)

          HISE Development for hire.
          www.channelrobot.com

          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @Lindon
            last edited by d.healey

            @Lindon There are several flags that can be switched in the HISE core module via projucer but I'm not sure what they will break when disabled :) No way to access them conditionally through HISE script though.

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            LindonL 1 Reply Last reply Reply Quote 0
            • LindonL
              Lindon @d.healey
              last edited by

              @d-healey OK thanks. I'll live with the in-app switch I guess...

              HISE Development for hire.
              www.channelrobot.com

              1 Reply Last reply Reply Quote 0
              • Christoph HartC
                Christoph Hart
                last edited by

                Which flags are you talking about?

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                37

                Online

                1.7k

                Users

                11.8k

                Topics

                103.0k

                Posts