Hi!Cmake has a generator to produce a project file for Apple's Xcode IDE. The resulting project of LyX cannot be opened though by Xcode because it cannot be parsed. The reason seems to be a bug in cmake which translates
add_definitions(-DLOCALEDIR=\\"${LOCALE_DIR}\\") into OTHER_CFLAGS = "-DLOCALEDIR=\\"\\" ";in the Xcode project which obviously is invalid (\\ is an escaped \). Moreover \\\" is translated into \\" and \\\\\" into \\\". The last one gives a valid Xcode project, but translates to the invalid \\" in the GNU make generator.
Fortunately there is a variant not affected by this inconsistency: add_definitions(-DLOCALEDIR='\"${LOCALE_DIR}\"')which translated correctly into a valid GNU make project and Xcode project. The patch is attached.
Schimmi
cmakeintl.patch
Description: Binary data
PGP.sig
Description: Signierter Teil der Nachricht