qmake support is going away

Tomaz Canabrava tcanabrava at kde.org
Thu Apr 16 10:31:18 PDT 2015


found something that may help

Simple way:

   set(CMAKE_AUTOMOC TRUE)

and then CMake will automoc all targets.

If you don't want to have automoc for all targets (while the scanning is
fast, it still takes some time), you can also enable it just for some
targets by setting the AUTOMOC target property to TRUE for these targets:

   set_target_properties(Foo PROPERTIES AUTOMOC TRUE)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150416/a1660498/attachment.html>


More information about the subsurface mailing list