One way to learn about Cmake is starting from scratch. So I started with kdeadmin, it didn't look like to big a project.
Nothing like getting your feet wet by jumping in at the deep end. :-D The trouble is the water is above my head. :-(
I have spent many hours on this one.
A pointer in the right direction would be appreciated.
[ 29%] Building CXX object ksysv/CMakeFiles/ksysv.dir/OldView.cpp.o /home/castro/Work/trinity-build/trinity-kdeadmin/src/kdeadmin/ksysv/OldView.cpp:22:20: fatal error: config.h: No such file or directory compilation terminated. make[2]: *** [ksysv/CMakeFiles/ksysv.dir/OldView.cpp.o] Error 1 make[1]: *** [ksysv/CMakeFiles/ksysv.dir/all] Error 2 make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... [castro@castro2 trinity-kdeadmin]$
Castro.