12.04.2016, 22:32, "Konstantin Tokarev" <annu...@yandex.ru>:
> 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.

Answering myself: yes, this is possible by setting SKIP_AUTOMOC property on 
files.

This property appears in documentation since CMake 3.8, but in fact it is 
available since automoc was added to CMake.

-- 
Regards,
Konstantin
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to