From 0f79ca336cf21c76b834c773838a0ecbf9d82ae1 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Tue, 20 Aug 2024 00:14:03 +0200 Subject: 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. --- Help/prop_tgt/COMPILE_FLAGS.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Help/prop_tgt/COMPILE_FLAGS.rst b/Help/prop_tgt/COMPILE_FLAGS.rst index 8fe651b..5229d46 100644 --- a/Help/prop_tgt/COMPILE_FLAGS.rst +++ b/Help/prop_tgt/COMPILE_FLAGS.rst @@ -7,5 +7,8 @@ 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. +.. 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. -- cgit v0.12