[prev in list] [next in list] [prev in thread] [next in thread]
List: cmake
Subject: Re: [CMake] Automoc for a part of target sources
From: Konstantin Tokarev <annulen () yandex ! ru>
Date: 2017-11-25 0:32:44
Message-ID: 696251511569964 () web35o ! yandex ! ru
[Download RAW message or body]
12.04.2016, 22:32, "Konstantin Tokarev" <annulen@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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic