mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 21:30:01 -05: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:
@@ -1,7 +1,9 @@
|
||||
per-lang-link-library-flag
|
||||
--------------------------
|
||||
|
||||
* The new :variable:`CMAKE_<LANG>_LINK_LIBRARY_FLAG` flag allows you to now
|
||||
control the flag used to specify linking to a library on a per-language basis.
|
||||
This is useful for mixed-language projects where the different drivers may use
|
||||
different flags.
|
||||
* New variables :variable:`CMAKE_<LANG>_LINK_LIBRARY_FLAG`,
|
||||
:variable:`CMAKE_<LANG>_LINK_LIBRARY_FILE_FLAG`, and
|
||||
:variable:`CMAKE_<LANG>_LINK_LIBRARY_SUFFIX` allow control of the
|
||||
flag used to specify linking to a library on a per-language basis.
|
||||
This is useful for mixed-language projects where the different
|
||||
drivers may use different flags.
|
||||
|
||||
Reference in New Issue
Block a user