Bladeren bron

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
Brad King 2 jaren geleden
bovenliggende
commit
f93b13151e
1 gewijzigde bestanden met toevoegingen van 4 en 0 verwijderingen
  1. 4 0
      Help/command/add_compile_options.rst

+ 4 - 0
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.