HISE Logo Forum
    • Categories
    • Register
    • Login

    How to pass project settings over to Projucer correctly?

    Scheduled Pinned Locked Moved General Questions
    10 Posts 3 Posters 540 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.
    • FrankbeatF
      Frankbeat
      last edited by

      I love to tinker with the XML-files. However, some values I set in my project_info.xml will not make it over to the projucer.
      Why is that? Do I have syntax errors in here?

        <ExtraDefinitionsOSX value="HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=0 HISE_INCLUDE_RLOTTIE=0"/>
      
      

      And for the user_info.xml files, is there an object for including my e-mail adress? Just something like:

        <CompanyURL value="https://www.youtube.com/@frankbeat-music"/>
      
      

      Using HISE from the develop branch (Feb '23)

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

        The extra definitions should be entered in your project preferences window, no need to edit the XML. Are you checking your project's jucer file for these changes after you've clicked to export your project?

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

        FrankbeatF 1 Reply Last reply Reply Quote 0
        • FrankbeatF
          Frankbeat @d.healey
          last edited by

          @d-healey Unfortunately, none of the mentioned settings appear in the preferences window to choose – so i hoped it would help to just write these into the extra definitions field.

          Using HISE from the develop branch (Feb '23)

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

            @Frankbeat Yes you add them in the extra definitions field within project preferences. There are individual input boxes for each OS.

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

            FrankbeatF 1 Reply Last reply Reply Quote 0
            • FrankbeatF
              Frankbeat @d.healey
              last edited by

              @d-healey Yes, that's what I did (these are then stored in the XML file which I gave this excerpt above).

              For example: When I open a projucer file and look up the Rlottie flag it is set to include Rlottie despite of having HISE_INCLUDE_RLOTTIE=0 in my extra OSX definitions. And same goes for the sample button thing.

              And for the e mail address: I have to enter it in Projucer all time because there's no such field in my preferences window in HISE (looked up all tabs).

              Using HISE from the develop branch (Feb '23)

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

                @Frankbeat The setting you apply in HISE preferences will show up in the extra definitions box inside projucer after you export from HISE

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

                1 Reply Last reply Reply Quote 0
                • FrankbeatF
                  Frankbeat
                  last edited by

                  @d-healey Yes, that's right. What I'm trying to say is: What I write into this definitions box does get passed over to the box in Projucer but it does not match what all the drop down-menus in Projucer are set to.

                  Bildschirmfoto 2023-06-04 um 11.33.49.png
                  Bildschirmfoto 2023-06-04 um 11.34.53.png
                  Bildschirmfoto 2023-06-04 um 11.34.35.png
                  Are you saying the content of the defs box will override the drop-downs anyway?

                  Using HISE from the develop branch (Feb '23)

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

                    @Frankbeat

                    Are you saying the content of the defs box will override the drop-downs anyway?

                    Yes they should do.

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

                    Christoph HartC 1 Reply Last reply Reply Quote 1
                    • Christoph HartC
                      Christoph Hart @d.healey
                      last edited by

                      Are you saying the content of the defs box will override the drop-downs anyway?

                      Some of the preferences (those with a tick box) might directly affect the module settings as they are shown in the projucer, but the content of this field gets added to the "preprocessor definitions" which are then used to set values if they are not already defined.

                      So... what David said.

                      1 Reply Last reply Reply Quote 1
                      • FrankbeatF
                        Frankbeat
                        last edited by

                        Then, sorry for the confusion! Thanks!

                        Using HISE from the develop branch (Feb '23)

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

                        20

                        Online

                        1.7k

                        Users

                        11.8k

                        Topics

                        102.4k

                        Posts