summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-03-28 14:57:31 (GMT)
committerBrad King <brad.king@kitware.com>2023-03-28 14:57:31 (GMT)
commite2830cf16b4ae32f60fd5b157aa2e8a04321723c (patch)
tree46817ffa61e41ee9c43402b6c28ad275435e2fcc /Help/command
parentf4b8176447699ba82c2bf7baf2d609d0d6e3259b (diff)
downloadCMake-e2830cf16b4ae32f60fd5b157aa2e8a04321723c.zip
CMake-e2830cf16b4ae32f60fd5b157aa2e8a04321723c.tar.gz
CMake-e2830cf16b4ae32f60fd5b157aa2e8a04321723c.tar.bz2
Help: Link to COMPILE_LANGUAGE genex from target_compile_options
Issue: #24639
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/target_compile_options.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/command/target_compile_options.rst b/Help/command/target_compile_options.rst
index 698f62d..f3ac97b 100644
--- a/Help/command/target_compile_options.rst
+++ b/Help/command/target_compile_options.rst
@@ -50,6 +50,10 @@ See Also
* For file-specific settings, there is the source file property :prop_sf:`COMPILE_OPTIONS`.
+* This command adds compile options for all languages in a target.
+ Use the :genex:`COMPILE_LANGUAGE` generator expression to specify
+ per-language compile options.
+
* :command:`target_compile_features`
* :command:`target_link_libraries`
* :command:`target_link_directories`