mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
Add per-lang variants of CMAKE_LINK_LIBRARY_{FILE_FLAG,SUFFIX}
Extend the change from commit 689be6235e (Generator: support
per-language link library flag, 2019-08-08) to cover more link library
command-line flag components. Allow compilers for different languages
to use different values for these linking-related variables within the
same build.
Closes: #19631
This commit is contained in:
8
Help/variable/CMAKE_LANG_LINK_LIBRARY_FILE_FLAG.rst
Normal file
8
Help/variable/CMAKE_LANG_LINK_LIBRARY_FILE_FLAG.rst
Normal file
@@ -0,0 +1,8 @@
|
||||
CMAKE_<LANG>_LINK_LIBRARY_FILE_FLAG
|
||||
-----------------------------------
|
||||
|
||||
Language-specific flag to be used to link a library specified by
|
||||
a path to its file.
|
||||
|
||||
The flag will be used before a library file path is given to the
|
||||
linker. This is needed only on very few platforms.
|
||||
6
Help/variable/CMAKE_LANG_LINK_LIBRARY_SUFFIX.rst
Normal file
6
Help/variable/CMAKE_LANG_LINK_LIBRARY_SUFFIX.rst
Normal file
@@ -0,0 +1,6 @@
|
||||
CMAKE_<LANG>_LINK_LIBRARY_SUFFIX
|
||||
--------------------------------
|
||||
|
||||
Language-specific suffix for libraries that you link to.
|
||||
|
||||
The suffix to use for the end of a library filename, ``.lib`` on Windows.
|
||||
Reference in New Issue
Block a user