1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-25 02:04:23 +00:00

Projucer: Remove unused code in CodeBlocksProjectExporter

This commit is contained in:
ed 2018-04-04 16:55:53 +01:00
parent 1bdc584449
commit 2e8ec2a757

View file

@ -181,19 +181,7 @@ public:
}
//==============================================================================
void initialiseDependencyPathValues() override
{
auto pathOS = isLinux() ? TargetOS::linux
: TargetOS::windows;
vst3Path.referTo (Value (new DependencyPathValueSource (getSetting (Ids::vst3Folder), Ids::vst3Path, pathOS)));
if (! isLinux())
{
aaxPath.referTo (Value (new DependencyPathValueSource (getSetting (Ids::aaxFolder), Ids::aaxPath, pathOS)));
rtasPath.referTo (Value (new DependencyPathValueSource (getSetting (Ids::rtasFolder), Ids::rtasPath, pathOS)));
}
}
void initialiseDependencyPathValues() override {}
private:
ValueWithDefault targetPlatformValue;
@ -294,7 +282,6 @@ private:
case pluginBundle:
switch (type)
{
case VST3PlugIn: return ".vst3";
case VSTPlugIn: return ".so";
default: break;
}
@ -311,8 +298,7 @@ private:
bool isDynamicLibrary() const
{
return (type == DynamicLibrary || type == VST3PlugIn
|| type == VSTPlugIn || type == AAXPlugIn);
return (type == DynamicLibrary || type == VSTPlugIn);
}
const CodeBlocksProjectExporter& exporter;
@ -535,7 +521,6 @@ private:
return 2;
case ProjectType::Target::DynamicLibrary:
case ProjectType::Target::VSTPlugIn:
case ProjectType::Target::VST3PlugIn:
return 3;
default:
break;
@ -584,8 +569,7 @@ private:
if (isLinux())
{
bool keepPrefix = (target.type == ProjectType::Target::VSTPlugIn || target.type == ProjectType::Target::VST3PlugIn
|| target.type == ProjectType::Target::AAXPlugIn || target.type == ProjectType::Target::RTASPlugIn);
bool keepPrefix = (target.type == ProjectType::Target::VSTPlugIn);
output->setAttribute ("prefix_auto", keepPrefix ? 0 : 1);
}