summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2024-08-19 22:14:03 (GMT)
committerBrad King <brad.king@kitware.com>2024-08-21 12:56:06 (GMT)
commit0f79ca336cf21c76b834c773838a0ecbf9d82ae1 (patch)
treec4f087169d6af73223bbf4d58d39fbd0164d8ed5
parent041a482079baf690f1bf8e9cdc8a7a1922016267 (diff)
downloadCMake-0f79ca336cf21c76b834c773838a0ecbf9d82ae1.zip
CMake-0f79ca336cf21c76b834c773838a0ecbf9d82ae1.tar.gz
CMake-0f79ca336cf21c76b834c773838a0ecbf9d82ae1.tar.bz2
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.
-rw-r--r--Help/prop_tgt/COMPILE_FLAGS.rst7
1 files 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.