mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
Introjucer: made it possible to use relative paths for AU SDK includes
This commit is contained in:
parent
898e3c3796
commit
0860061fd9
1 changed files with 11 additions and 3 deletions
|
|
@ -501,9 +501,17 @@ namespace AUHelpers
|
|||
if (! sdkLocation.endsWithChar ('/'))
|
||||
sdkLocation << '/';
|
||||
|
||||
exporter.extraSearchPaths.add (sdkLocation + "PublicUtility");
|
||||
exporter.extraSearchPaths.add (sdkLocation + "AudioUnits/AUPublic/Utility");
|
||||
exporter.extraSearchPaths.add (sdkLocation + "AudioUnits/AUPublic/AUBase");
|
||||
{
|
||||
String relativeSDK (exporter.rebaseFromProjectFolderToBuildTarget (RelativePath (sdkLocation, RelativePath::projectFolder))
|
||||
.toUnixStyle());
|
||||
|
||||
if (! relativeSDK.endsWithChar ('/'))
|
||||
relativeSDK << '/';
|
||||
|
||||
exporter.extraSearchPaths.add (relativeSDK + "PublicUtility");
|
||||
exporter.extraSearchPaths.add (relativeSDK + "AudioUnits/AUPublic/Utility");
|
||||
exporter.extraSearchPaths.add (relativeSDK + "AudioUnits/AUPublic/AUBase");
|
||||
}
|
||||
|
||||
exporter.xcodeFrameworks.addTokens ("AudioUnit CoreAudioKit", false);
|
||||
exporter.xcodeExcludedFiles64Bit = "\"*Carbon*.cpp\"";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue