CMake/Help/variable/CMAKE_LANG_LINK_LIBRARY_FLAG.rst
Saleem Abdulrasool 689be6235e Generator: support per-language link library flag
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.
2019-08-09 08:16:29 -07:00

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``.