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-03-18 09:56:26 -04:00
2025-04-03 23:05:24 +08:00
2025-03-21 08:07:16 -04:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-02-07 11:10:43 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-04-03 23:05:24 +08:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-01-26 14:45:21 +01:00
2025-05-02 13:49:40 -04:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-29 20:31:49 +01:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-04-28 08:53:01 -04:00
2025-04-28 08:53:01 -04:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-01-28 13:51:46 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-01-26 14:45:21 +01:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-21 08:07:16 -04:00
2021-01-28 09:05:35 -05:00
2021-01-28 09:05:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2022-05-06 10:40:59 -04:00
2025-03-03 10:43:35 -05:00
2010-01-21 09:09:27 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2009-08-07 10:13:07 -04:00
2024-07-22 16:58:51 +02:00
2025-03-29 20:31:49 +01:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-03-03 10:43:35 -05:00
2025-01-26 14:45:21 +01:00
2025-01-29 13:07:41 -05:00
2025-05-28 13:48:26 -04:00
2025-03-03 10:43:35 -05:00
2025-05-28 13:48:26 -04:00
2025-01-29 13:07:41 -05:00
2025-03-03 10:43:35 -05:00
2025-01-29 13:07:41 -05:00
2025-06-05 09:16:54 -04:00
2025-06-05 09:16:54 -04:00
2025-06-05 09:16:54 -04:00
2025-03-03 10:43:35 -05:00
2025-05-28 13:48:26 -04:00
2025-03-03 10:43:35 -05:00