While searching some info on the net about porting projects from autotools to cmake i have found this: http://techbase.kde.org/Development/Tutorials/KDE4_Porting_Guide#CMake Apparentely they have script that converts automatically .am files to cmake files. I've run it on several not-yet-ported-to-cmake trinity components, and it generated nearly whole CMake files structure. Yet it doesn't generate config.h.cmake file which is needed (without it compilation simply don't happen). I've asked for help on kde-devel irc channel, but without any success (maybe I'll ask later). Whole point is, maybe we could adapt this to generate our cmake files, thus speeding whole porting to cmake?