CMake: reproduce the WebKitGTK building phases within a CMakeLists.txt ?

I believe this was answered here: