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