diff options
author | Brad King <brad.king@kitware.com> | 2023-03-31 15:00:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-03-31 15:01:13 (GMT) |
commit | f93b13151e8e82601568b7f2c2d22943e9e2e048 (patch) | |
tree | 289a5058c13c26ae1aa0be4bb2a479741ec501af /Help | |
parent | 17e6b2bdcae4d7ea98b4738a9a0fe72396d28eb5 (diff) | |
download | CMake-f93b13151e8e82601568b7f2c2d22943e9e2e048.zip CMake-f93b13151e8e82601568b7f2c2d22943e9e2e048.tar.gz CMake-f93b13151e8e82601568b7f2c2d22943e9e2e048.tar.bz2 |
Help: Link to COMPILE_LANGUAGE genex from add_compile_options
Follow-up commit e2830cf16b (Help: Link to COMPILE_LANGUAGE genex
from target_compile_options, 2023-03-28).
Issue: #24639
Diffstat (limited to 'Help')
-rw-r--r-- | Help/command/add_compile_options.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/command/add_compile_options.rst b/Help/command/add_compile_options.rst index 0ccebc6..f587ae6 100644 --- a/Help/command/add_compile_options.rst +++ b/Help/command/add_compile_options.rst @@ -48,5 +48,9 @@ See Also * The command :command:`target_compile_options` adds target-specific options. +* This command adds compile options for all languages. + Use the :genex:`COMPILE_LANGUAGE` generator expression to specify + per-language compile options. + * The source file property :prop_sf:`COMPILE_OPTIONS` adds options to one source file. |