mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-02 04:09:33 -05:00
689be6235e
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
312 B
ReStructuredText
8 lines
312 B
ReStructuredText
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.
|