Files
CMake/Modules/Compiler
Tyler Yankee 98f9874703 cmake: Add per-language link flags for all target types
Previously, `CMAKE_<LANG>_LINK_FLAGS` was an undocumented variable used
for linking executables only. Re-spell that variable mirroring the
existing spellings for shared and module libraries, and add policy
CMP0210 to preserve compatibility.

Then, repurpose `CMAKE_<LANG>_LINK_FLAGS` to provide a variable to be
used for per-language link flags for all target types, along with a
per-configuration variant. These are added to the `<LINK_FLAGS>` rule
placeholder in the generators.

Fixes: #21934
Relates: #25620

Co-authored-by: Brad King <brad.king@kitware.com>
2026-01-31 19:37:09 -05:00
..
2025-07-01 11:20:56 -04:00
2025-08-26 14:29:01 -07:00
2025-04-24 07:45:21 -04:00
2025-04-24 07:45:21 -04:00
2025-04-24 07:45:21 -04:00
2025-04-24 07:45:21 -04:00
2025-04-24 07:45:21 -04:00
2025-07-22 13:50:44 -04:00
2025-03-17 11:42:05 -04:00
2025-08-01 20:51:22 -04:00