[CMake] Automoc for a part of target sources

Konstantin Tokarev annulen at yandex.ru
Tue Apr 12 15:32:09 EDT 2016


Hi all,

Is it somehow possible to apply automoc-like processing to the list of files, not whole target?

My use case: in QtWebKit most of sources composing core targets are not related to Qt at all, but there are specific sources specific to Qt port. Currently I'm using automoc, but I suspect that it should be possible to improve incremental build times by reducing number of automoc'ed files.


-- 
Regards,
Konstantin


More information about the CMake mailing list