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)
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to