cmake/Help/prop_tgt/COMPILE_FLAGS.rst

12 lines
411 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
COMPILE_FLAGS
-------------
Additional flags to use when compiling this target's sources.
2016-07-09 11:21:54 +02:00
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.
2014-08-03 19:52:23 +02:00
2016-07-09 11:21:54 +02:00
This property is deprecated. Use the :prop_tgt:`COMPILE_OPTIONS`
2018-04-23 21:13:27 +02:00
property or the :command:`target_compile_options` command instead.