How to pass project settings over to Projucer correctly?
-
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"/>
-
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?
-
@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.
-
@Frankbeat Yes you add them in the extra definitions field within project preferences. There are individual input boxes for each OS.
-
@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).
-
@Frankbeat The setting you apply in HISE preferences will show up in the extra definitions box inside projucer after you export from HISE
-
@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.
Are you saying the content of the defs box will override the drop-downs anyway? -
Are you saying the content of the defs box will override the drop-downs anyway?
Yes they should do.
-
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.
-
Then, sorry for the confusion! Thanks!