qt_wrap_cpp
-----------

Create Qt Wrappers.

.. code-block:: cmake

  qt_wrap_cpp(resultingLibraryName DestName [EXECUTABLE moc_executable] [PREFIX moc_] [EXTENSION cxx] SourceLists ...)

Produces 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.

The ``resultingLibraryName`` is ignored and only exists for compatibility with
older CMake versions where it was required.

The ``moc`` executable can be defined using the ``EXECUTABLE`` argument. It will
default to the value of ``QT_MOC_EXECUTABLE``.

``PREFIX`` and ``EXTENSION`` are modifications applied to the generated file name.
By default the generated file will be named ``moc_<BASENAME>.cxx``, where the
``moc_`` part is the ``PREFIX`` and ``cxx`` the ``EXTENSION``.
