Files
CMake/Help/prop_tgt/COMPILE_FLAGS.rst
Peter Kokot 0f79ca336c Help: Target property COMPILE_FLAGS has been superseded by COMPILE_OPTIONS
The `COMPILE_FLAGS` is not actually deprecated but has been superseded
by the `COMPILE_OPTIONS` target property.
2024-08-21 08:56:06 -04:00

15 lines
461 B
ReStructuredText

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.