I create a project with cmake for Visual Studio 10, using Qt5.4 library. Cmake generates moc files for Qt and integrates these files into my solution.
I would like to find a way to prevent Cmake to integrate the moc files into the solution, coz then they are compiled what is useless I think.
Does it exist a solution to do that ?
I am not writing something like set(moc_mymocfile.cpp) into the CMakeLists.txt file, so I don't understand...
Thanks