mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-20 01:14:20 +00:00
Introjucer: Fix for handling spaces in some Xcode project paths.
This commit is contained in:
parent
33e9e38345
commit
2bacad372f
1 changed files with 7 additions and 2 deletions
|
|
@ -287,6 +287,11 @@ private:
|
|||
return path;
|
||||
}
|
||||
|
||||
static String addQuotesIfContainsSpace (const String& s)
|
||||
{
|
||||
return s.containsChar (' ') ? s.quoted() : s;
|
||||
}
|
||||
|
||||
File getProjectBundle() const { return getTargetFolder().getChildFile (project.getProjectFilenameRoot()).withFileExtension (".xcodeproj"); }
|
||||
|
||||
//==============================================================================
|
||||
|
|
@ -754,8 +759,8 @@ private:
|
|||
RelativePath binaryPath (config.getTargetBinaryRelativePathString(), RelativePath::projectFolder);
|
||||
binaryPath = binaryPath.rebased (projectFolder, getTargetFolder(), RelativePath::buildTargetFolder);
|
||||
|
||||
s.add ("DSTROOT = " + sanitisePath (binaryPath.toUnixStyle()));
|
||||
s.add ("SYMROOT = " + sanitisePath (binaryPath.toUnixStyle()));
|
||||
s.add ("DSTROOT = " + addQuotesIfContainsSpace (sanitisePath (binaryPath.toUnixStyle())));
|
||||
s.add ("SYMROOT = " + addQuotesIfContainsSpace (sanitisePath (binaryPath.toUnixStyle())));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue