diff options
author | Brad King <brad.king@kitware.com> | 2023-03-28 14:57:31 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-03-28 14:57:31 (GMT) |
commit | e2830cf16b4ae32f60fd5b157aa2e8a04321723c (patch) | |
tree | 46817ffa61e41ee9c43402b6c28ad275435e2fcc /Help/prop_tgt | |
parent | f4b8176447699ba82c2bf7baf2d609d0d6e3259b (diff) | |
download | CMake-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/prop_tgt')
-rw-r--r-- | Help/prop_tgt/COMPILE_OPTIONS.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/prop_tgt/COMPILE_OPTIONS.rst b/Help/prop_tgt/COMPILE_OPTIONS.rst index 0fd6aac..0dec250 100644 --- a/Help/prop_tgt/COMPILE_OPTIONS.rst +++ b/Help/prop_tgt/COMPILE_OPTIONS.rst @@ -11,6 +11,10 @@ The options will be added after after flags in the variables, but before those propagated from dependencies by the :prop_tgt:`INTERFACE_COMPILE_OPTIONS` property. +This property adds compile options for all languages in a target. +Use the :genex:`COMPILE_LANGUAGE` generator expression to specify +per-language compile options. + This property is initialized by the :prop_dir:`COMPILE_OPTIONS` directory property when a target is created, and is used by the generators to set the options for the compiler. |