summaryrefslogtreecommitdiff
path: root/share/cmake-3.10/Help/prop_tgt/COMPILE_FLAGS.rst
blob: 1a5389e481c780f9a1b9af3a2b8ae7140952ec3f (plain)
1
2
3
4
5
6
7
8
9
10
11
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.

This property is deprecated.  Use the :prop_tgt:`COMPILE_OPTIONS`
property or the command:`target_compile_options` command instead.