AUTORCC_OPTIONS.rst 611 B

12345678910111213141516171819202122
  1. AUTORCC_OPTIONS
  2. ---------------
  3. Additional options for ``rcc`` when using :prop_tgt:`AUTORCC`
  4. This property holds additional command line options which will be used when
  5. ``rcc`` is executed during the build via :prop_tgt:`AUTORCC`, i.e. it is equivalent to the
  6. optional ``OPTIONS`` argument of the :module:`qt4_add_resources() <FindQt4>` macro.
  7. By default it is empty.
  8. The options set on the ``.qrc`` source file may override
  9. :prop_tgt:`AUTORCC_OPTIONS` set on the target.
  10. EXAMPLE
  11. ^^^^^^^
  12. .. code-block:: cmake
  13. # ...
  14. set_property(SOURCE resources.qrc PROPERTY AUTORCC_OPTIONS "--compress;9")
  15. # ...