AUTOMOC_MOC_OPTIONS.rst 524 B

123456789101112131415
  1. AUTOMOC_MOC_OPTIONS
  2. -------------------
  3. Additional options for moc when using :prop_tgt:`AUTOMOC`
  4. This property is only used if the :prop_tgt:`AUTOMOC` property is ``ON``
  5. for this target. In this case, it holds additional command line
  6. options which will be used when ``moc`` is executed during the build, i.e.
  7. it is equivalent to the optional ``OPTIONS`` argument of the
  8. :module:`qt4_wrap_cpp() <FindQt4>` macro.
  9. By default it is empty.
  10. See the :manual:`cmake-qt(7)` manual for more information on using CMake
  11. with Qt.