mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-23 01:44:22 +00:00
Introjucer: refactored some functions and made it add "--no-undefined" to linux VST makefile linker settings.
This commit is contained in:
parent
3e5b15a8e3
commit
43ce64a099
13 changed files with 56 additions and 63 deletions
|
|
@ -243,7 +243,7 @@ namespace VSTHelpers
|
|||
|
||||
if (exporter.isVisualStudio())
|
||||
exporter.extraSearchPaths.add (path.toWindowsStyle());
|
||||
else if (exporter.isLinuxMakefile() || exporter.isCodeBlocksLinux() || exporter.isXcode())
|
||||
else if (exporter.isLinux() || exporter.isXcode())
|
||||
exporter.extraSearchPaths.insert (0, path.toUnixStyle());
|
||||
}
|
||||
}
|
||||
|
|
@ -282,7 +282,7 @@ namespace VSTHelpers
|
|||
|
||||
if (exporter.isWindows())
|
||||
exporter.extraSearchPaths.add (juceWrapperFolder.toWindowsStyle());
|
||||
else if (exporter.isLinuxMakefile() || exporter.isCodeBlocksLinux() )
|
||||
else if (exporter.isLinux())
|
||||
exporter.extraSearchPaths.add (juceWrapperFolder.toUnixStyle());
|
||||
|
||||
if (exporter.isVisualStudio())
|
||||
|
|
@ -305,6 +305,9 @@ namespace VSTHelpers
|
|||
config->getValue (Ids::postbuildCommand) = "copy /Y \"$(OutDir)\\$(TargetFileName)\" \"$(OutDir)\\$(TargetName).vst3\"";
|
||||
}
|
||||
}
|
||||
|
||||
if (exporter.isLinux())
|
||||
exporter.makefileExtraLinkerFlags.add ("--no-undefined");
|
||||
}
|
||||
|
||||
static inline void createPropertyEditors (ProjectExporter& exporter, PropertyListBuilder& props, bool isVST3)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue