Files
CMake/Help/release
Brad King 92d6126450 MSVC: Move link -machine flag out of CMAKE_*_LINKER_FLAGS
The `CMAKE_{EXE,SHARED,MODULE,STATIC}_LINKER_FLAGS` variables are
not language-specific, so multiple languages' toolchains may disagree
about if/how to pass the flag through a compiler driver to the linker.
Furthermore, carrying the flag in public-facing variables allows projects
or users to change it even though it is required.  Add policy CMP0197
to remove the flag from the public-facing variables and generate it
automatically instead:

* For command-line generators, add the `-machine:` flag to the
  linker and archiver rule variables.

* For Visual Studio generators, we do not need to explicitly add the
  link `-machine:` flag.  MSBuild automatically adds it, and the new
  behavior actually removes a duplicate we generated previously.

Issue: #21934
2025-06-05 09:16:54 -04:00
..
2025-05-20 23:35:18 +02:00
2025-01-28 13:51:46 -05:00
2025-04-29 06:33:47 +02:00
2025-04-29 06:33:47 +02:00
2025-05-11 08:38:08 +02:00
2025-05-27 00:16:57 +02:00
2025-05-27 00:16:57 +02:00
2025-04-29 06:18:15 +02:00
2025-04-29 06:33:47 +02:00
2023-11-17 09:58:21 -05:00
2023-11-27 13:48:12 -05:00
2023-11-28 09:52:37 -05:00
2024-06-03 13:35:26 -04:00
2024-11-21 08:34:26 -05:00
2025-02-24 10:44:32 -05:00
2025-04-10 09:13:20 -04:00
2025-05-05 10:23:02 -04:00
2025-02-05 11:49:36 -05:00