qt_wrap_cpp

Create Qt Wrappers.

qt_wrap_cpp(resultingLibraryName DestName
            SourceLists ...)

Produce moc files for all the .h files listed in the SourceLists. The moc files will be added to the library using the DestName source list.

© 2000–2019 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.6/command/qt_wrap_cpp.html