mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Help: Document that CMAKE_<LANG>_FLAGS[_INIT] are strings
Issue: #21944
This commit is contained in:
committed by
Brad King
parent
0cf1b5c5ad
commit
95c50da8af
@@ -15,3 +15,6 @@ This is initialized for each language from environment variables:
|
||||
Initialized by the :envvar:`CUDAFLAGS` environment variable.
|
||||
* ``CMAKE_Fortran_FLAGS``:
|
||||
Initialized by the :envvar:`FFLAGS` environment variable.
|
||||
|
||||
This value is a command-line string fragment. Therefore, multiple options
|
||||
should be separated by spaces, and options with spaces should be quoted.
|
||||
|
||||
@@ -12,6 +12,8 @@ the contents of a ``xxxFLAGS`` environment variable will be prepended,
|
||||
where ``xxx`` will be language-specific but not necessarily the same as
|
||||
``<LANG>`` (e.g. :envvar:`CXXFLAGS` for ``CXX``, :envvar:`FFLAGS` for
|
||||
``Fortran``, and so on).
|
||||
This value is a command-line string fragment. Therefore, multiple options
|
||||
should be separated by spaces, and options with spaces should be quoted.
|
||||
|
||||
See also the configuration-specific
|
||||
:variable:`CMAKE_<LANG>_FLAGS_<CONFIG>_INIT` variable.
|
||||
|
||||
Reference in New Issue
Block a user