Files
CMake/Help/release/dev/asm-no-msvc.rst
T
Brad King 14212494bb ASM: Guard exclusion of MSVC C/CXX compiler with a policy
Since commit 6baf65ec46 (ASM: Do not consider MSVC C/CXX compiler for
generic ASM, 2025-04-08) we no longer mistake `cl` for an assembler.
However, some projects unconditionally enable ``ASM``, which worked
on Windows only due to that bug.  Restore compatibility with such
projects by guarding the change behind a new policy ``CMP0194``.

Fixes: #26907
Issue: #26617
2025-05-03 13:18:19 -04:00

6 lines
161 B
ReStructuredText

asm-no-msvc
-----------
* Enabling ``ASM`` no longer accidentally succeeds using ``MSVC``'s ``cl``
C compiler as an assembler. See policy :policy:`CMP0194`.