Browse Source

Projucer: Fixed a bug where per-exporter SDK paths would not be saved/recalled correctly

tags/2021-05-28
ed 7 years ago
parent
commit
c407d528b1
3 changed files with 8 additions and 10 deletions
  1. +3
    -3
      extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_MSVC.h
  2. +3
    -3
      extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h
  3. +2
    -4
      extras/Projucer/Source/ProjectSaving/jucer_ProjectExporter.h

+ 3
- 3
extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_MSVC.h View File

@@ -136,9 +136,9 @@ public:
//==============================================================================
void initialiseDependencyPathValues() override
{
vst3PathValueWrapper.init (Ids::vst3Path, TargetOS::windows);
aaxPathValueWrapper .init (Ids::aaxPath, TargetOS::windows);
rtasPathValueWrapper.init (Ids::rtasPath, TargetOS::windows);
vst3PathValueWrapper.init (settings, Ids::vst3Path, TargetOS::windows);
aaxPathValueWrapper .init (settings, Ids::aaxPath, TargetOS::windows);
rtasPathValueWrapper.init (settings, Ids::rtasPath, TargetOS::windows);
}
//==============================================================================


+ 3
- 3
extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h View File

@@ -445,9 +445,9 @@ public:
//==============================================================================
void initialiseDependencyPathValues() override
{
vst3PathValueWrapper.init (Ids::vst3Path, TargetOS::osx);
aaxPathValueWrapper .init (Ids::aaxPath, TargetOS::osx);
rtasPathValueWrapper.init (Ids::rtasPath, TargetOS::osx);
vst3PathValueWrapper.init (settings, Ids::vst3Path, TargetOS::osx);
aaxPathValueWrapper .init (settings, Ids::aaxPath, TargetOS::osx);
rtasPathValueWrapper.init (settings, Ids::rtasPath, TargetOS::osx);
}
protected:


+ 2
- 4
extras/Projucer/Source/ProjectSaving/jucer_ProjectExporter.h View File

@@ -374,7 +374,7 @@ protected:
// Used for the VST3, RTAS and AAX project-specific path options.
struct ValueWithDefaultWrapper : public Value::Listener
{
void init (const Identifier& identifierToUse, TargetOS::OS targetOS)
void init (ValueTree tree, const Identifier& identifierToUse, TargetOS::OS targetOS)
{
identifier = identifierToUse;
os = targetOS;
@@ -391,12 +391,10 @@ protected:
}
ValueWithDefault wrappedValue;
Value globalValue;
Identifier identifier;
TargetOS::OS os;
ValueTree tree { "tree" };
Value globalValue;
};
ValueWithDefaultWrapper vst3PathValueWrapper, rtasPathValueWrapper, aaxPathValueWrapper;


Loading…
Cancel
Save