CMake/Help/prop_tgt/COMPILE_FLAGS.rst

12 lines
410 B
ReStructuredText
Raw Normal View History

COMPILE_FLAGS
-------------
Additional flags to use when compiling this target's sources.
2016-04-27 23:38:59 +03: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.
2016-04-27 23:38:59 +03:00
This property is deprecated. Use the :prop_tgt:`COMPILE_OPTIONS`
property or the command:`target_compile_options` command instead.