ADD_DEFINITIONS and kdevelop

Esben Mose Hansen kde at
Wed May 5 15:44:39 BST 2010

On Wednesday 05 May 2010 12:23:44 Andreas Pakulat wrote:
> It already is implemented and should be used. So maybe the cmake support
> doesn't understand the cmake code you're using/does't get to the
> add_definitions part. I suggest to enable the debug area's for the cmake
> parser and the c++ support, the C++ support will report the defines for
> each parse-job as "DEFINES: ...." and a similar thing should be done by the
> cmake support.

That sounds interesting. I noticed this from the cmake support:

> kdevelop(873)/kdevelop (cmake support) CMakeProjectVisitor::visit: error:
> Could not find "libangestowbase" into
> ("/home/esben/ange/stow/cmake_modules/", "/usr/share/cmake-2.8/Modules",
> "/usr/share/cmake-2.8/Modules") kdevelop(873)/kdevelop (cmake support)
> CMakeProjectVisitor::visit: message: ("
>   Did not find stowkernel, will build Ange Stow without it
> ")

This makes me suspect that what actually happens is that the CMake support 
doesn't understand the cmake-config files. (You know, those names like 
stowkernel-config.cmake). Would that be correct?

kind regards, Esben

More information about the KDevelop mailing list