ADD_DEFINITIONS and kdevelop

Esben Mose Hansen kde at mosehansen.dk
Wed May 5 08:42:11 BST 2010


Hi,

I have a section in my CMakeLists.txt like this:

IF(STOWKERNEL_FOUND)
  ADD_DEFINITIONS(-DHAVE_STOWKERNEL)
ENDIF(STOWKERNEL_FOUND)

where stowkernel is an optional library. But KDevelop doesn't pick this up, so 
the code is parsed as if HAVE_STOWKERNEL is undefined. Can this be fixed at my 
end somehow? Or in the code without deep knowledge? :)

Thanks!

-- 
kind regards, Esben





More information about the KDevelop mailing list