mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
This enables the use of MSVC and Swift on Windows in a single project. MSVC uses no flag to indicate linked libraries while Swift uses `-l`. Add support for a language specific link library flag which takes precedence over the global `CMAKE_LINK_LIBRARY_FLAG` which preserves compatibility with earlier releases.
8 lines
286 B
ReStructuredText
8 lines
286 B
ReStructuredText
CMAKE_<LANG>_LINK_LIBRARY_FLAG
|
|
------------------------------
|
|
|
|
Flag to be used to link a library into a shared library or executable.
|
|
|
|
This flag will be used to specify a library to link to a shared library or an
|
|
executable for the specific language. On most compilers this is ``-l``.
|