summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/COMPILE_FLAGS.rst
blob: 5229d467d1ef30740de012e92c6e4c7ae9e2dbfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
COMPILE_FLAGS
-------------

Additional flags to use when compiling this target's sources.

The ``COMPILE_FLAGS`` property sets additional compiler flags used to
build sources within the target.  Use :prop_tgt:`COMPILE_DEFINITIONS`
to pass additional preprocessor definitions.

.. note::

  This property has been superseded by the :prop_tgt:`COMPILE_OPTIONS` property.
  Alternatively, you can also use the :command:`target_compile_options` command
  instead.