Fixed bug 3297634 - UnitTest++ folder breaks Xcode 3

Xcode itself only quotes when it needs to yet it is fine to always quote the string.
This commit is contained in:
Liam Devine 2011-05-07 02:30:28 +01:00
parent 5c015131c8
commit fb7f74d4bd
3 changed files with 12 additions and 5 deletions

View File

@ -11,8 +11,9 @@
* Bug 3163703: pdb file being set in the wrong section. (hodsondd)
* Bug 3157645: Full path for xcode frameworks
* Bug 3232160: Environment variables are cut off
* Patch 3043933 gmake incorrectly links using -l when a solution contains a .so and .a of the same name and the static lib is wanted (Jonathan Derque)
* Patch 3043933 Allow gmake to use static lib when shared lib of same name exists (Jonathan Derque)
* Bug 3294459: vs10 x86_64 using incorrect debug format for minimal rebuild (learner)
* Bug 3297634: Special characters in directory name Xcode3 (jdale)
-------
4.3
@ -135,7 +136,6 @@
- Bug 2790865: SharedLib on OSX fixes (Ash Berlin)
- Bug 2790882: Trailing slash in path.getabsolute (Ash Berlin)
RC2 -> RC3
- Bug 2805763: GCC PCH breaks on path

View File

@ -402,7 +402,7 @@
if node.parent.path then
p = path.getrelative(node.parent.path, node.path)
end
_p(3,'path = %s;', p)
_p(3,'path = "%s";', p)
end
end

View File

@ -359,7 +359,7 @@
[premake] /* premake */,
);
name = "include";
path = include;
path = "include";
sourceTree = "<group>";
};
[premake] /* premake */ = {
@ -368,13 +368,20 @@
[source.h] /* source.h */,
);
name = "premake";
path = premake;
path = "premake";
sourceTree = "<group>";
};
]]
end
function suite.PBXGroup_pathHasPlusPlus_PathIsQuoted()
files { "RequiresQuoting++/h.h" }
prepare()
xcode.PBXGroup(tr)
test.string_contains( io.endcapture(),'path = "RequiresQuoting%+%+";' )
end
function suite.PBXGroup_SortsFiles()
files { "test.h", "source.h", "source.cpp" }
prepare()