Joshua Jensen wrote:
After inserting the following into my CMakeLists.txt:
SET_TARGET_PROPERTIES(MyLibrary PROPERTIES BUILD_WITH_INSTALL_RPATH 1
INSTALL_NAME_DIR @executable_path)
XCode stopped opening the .xcodeproj. This was due to an unquoted
line in project.pbxproj:
INSTALL_NAME = @executable_path
It should be:
INSTALL_NAME = "@executable_path"
The following patch fixes the issue.
Thanks.
Josh
--- Source/cmXCodeObject.cxx Wed Feb 21 13:01:19 2007
+++ Source/cmXCodeObject.cxx Sun May 27 00:42:41 2007
@@ -194,7 +194,7 @@
cmSystemTools::ReplaceString(ss, "\"", "\\\"");
bool needQuote = false;
this->String = "";
- if(ss.find_first_of(" <>.+-=") != ss.npos)
+ if(ss.find_first_of(" <>.+-=@") != ss.npos)
{
needQuote = true;
}
Thanks!
$ cvs commit -m "ENH: @ must be escaped in xcode projects" cmXCodeObject.cxx
Checking for path: /cvsroot/CMake/CMake/Source
Unrestricted user: hoffman
/cvsroot/CMake/CMake/Source/cmXCodeObject.cxx,v <-- cmXCodeObject.cxx
new revision: 1.22; previous revision: 1.21
-Bill
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake