I hope this helps . I ran into exactly the same issue. In my case, running a tool that recursively sets all file timestamps on the source folder (source, not build folder) helped. I assume some tool updated one of the source files to a time in the future and that made cmake think it has to regenerate because the source file is newer than the build file. Maybe this helps you as well? This is the tool I used: http://www.binarez.com/touch_dot_exe/
should help you out With Visual Studio 2010 SP1 and the Visual Studio Visualization and Modeling SDK for Visual Studio 2010, you're licensed to copy and redistribute the necessary files to do T4 transforms at build time on a build server (note, only a build server, not arbitrary redistribution). You can simply copy these files from a machine with Visual Studio and the SDK installed. The two license files in question are: 1) buildserver.txt in the Visual Studio install directory 2) redist.txt in the VisualStudioIntegration\Tools\DSLTools directory of the SDK.
CMake + Ninja build does not parallelize across libraries
may help you . I don't think there is a way other than using Custom buildsystem plugin yet. So, eiter use CMake build system with Ninja generator, or custom buildsystem. But the good news are that Meson plugin for KDevelop is already being baked and hopefully will see a release!