Am Mittwoch, 5. Oktober 2011, 18:38:35 schrieb Peter Kuemmel: > > So I see that one of my projects has this problem. > > I've narrowed it down to this commit: > > http://cmake.org/gitweb?p=cmake.git;a=commit;h=a5683f8 > > Great! This was fast. > > > If I remove the code that commit adds, from the current HEAD, then my > > problem goes away. > > > > When checking the XML, it complained about a few lines that looked like > > this: > > <Add option="-DMY_DIR="/path/to/file"" /> > > > > So it appears that code doesn't handle preprocessor defines with > > quoting. > > > > Peter, is that your problem also? > > Yes, same here: <Add option="-DOP_PATH=""" /> > > > Can you edit your .cbp to remove lines like > > that? Or copy it to a file with a .xml extension then open it in a > > program that can check the xml (e.g. firefox). > > Replacing above line with <Add option="-DOP_PATH" /> fixes > the problem.
The thing the patch does would be <Add option="-DOP_PATH=""" /> Eike
signature.asc
Description: This is a digitally signed message part.
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
