KDE/kdevelop/buildtools/managers/cmake/parser

Andreas Pakulat apaku at gmx.de
Fri Dec 28 23:56:04 UTC 2007


SVN commit 754052 by apaku:

yet another place where splitting is needed.
BTW: IMHO this should move to KShell namespace in kdelibs and possibly also things like Path vs. PATH or even proper Map-Like access to the system environment
CCMAIL:kdevelop-devel at kdevelop.org

 M  +4 -0      cmakeprojectvisitor.cpp  


--- trunk/KDE/kdevelop/buildtools/managers/cmake/parser/cmakeprojectvisitor.cpp #754051:754052
@@ -796,7 +796,11 @@
 //         case FileAst::MAKE_DIRECTORY:
 //         case FileAst::RELATIVE_PATH:
         case FileAst::TO_CMAKE_PATH:
+#ifdef Q_WS_WIN
+            m_vars->insert(file->variable(), file->path().split(';'));
+#else
             m_vars->insert(file->variable(), file->path().split(':'));
+#endif
             kDebug(9042) << "file TO_CMAKE_PATH variable:" << file->variable() << "="
                     << m_vars->value(file->variable()) << "file:" << file->path();
             break;




More information about the KDevelop-devel mailing list