MantisBT - CMake
View Issue Details
0004022CMakeCMakepublic2006-11-06 04:432007-02-21 14:01
Gaetan Lehmann 
Bill Hoffman 
normalmajoralways
closedfixed 
 
 
0004022: Xcode generator produce invalid code when there is a quote in a string
The problem was hilighted by the following line in GCC/gcc/CMakeLists.txt, in cableswig:

PROPERTIES COMPILE_FLAGS "-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")

which produce the invalid line, in project.pbxproj:

410D150410D150410D150000 /* prefix.c in Source Files */ = {isa = PBXBuildFile; fileRef = 410D060410D060410D060000 /* prefix.c */; settings = { COMPILER_FLAGS = "-DPREFIX="/usr/local""; }; };
No tags attached.
related to 0007316closed Bill Hoffman CMake TRY_RUN fails to compile with generator for Xcode 
related to 0007315closed Bradley Lowekamp ITK XCode 3.0 builds of ITK fail in vnl_matlab_header.h 
Issue History
2008-07-14 17:47Brad KingRelationship addedrelated to 0007316
2008-07-14 17:47Brad KingRelationship addedrelated to 0007315

Notes
(0006515)
Bill Hoffman   
2007-02-21 14:01   
Fixed in CVS, thanks.

Unrestricted user: hoffman
/cvsroot/CMake/CMake/Source/cmGlobalXCodeGenerator.cxx,v <-- cmGlobalXCodeGenerator.cxx
new revision: 1.135; previous revision: 1.134
/cvsroot/CMake/CMake/Source/cmXCodeObject.cxx,v <-- cmXCodeObject.cxx
new revision: 1.21; previous revision: 1.20