Cmake Project, new class does not compile

Ulrich Mierendorff ulrich.mierendorff at
Sun Jul 29 19:29:18 UTC 2007

Looks like I found a solution: In CMakeLists.txt in the src/ direcetory 
I changed a line:
ADD_LIBRARY(blubproject SHARED blubproject.cpp)
ADD_LIBRARY(blubproject SHARED blubproject.cpp cache.cpp)

But is this the way it should be done? The class creation wizard should 
add this automatically, or was it my fault?


Ulrich M. wrote:
> cd '/home/bla/blubproject/src' && make -k -j1 'cache.o'
> make: *** Keine Regel, um »cache.o« zu erstellen.
> *** Exited with status: 2 ***

More information about the KDevelop mailing list