Provide CMAKE_<LANG>_COMPILER_ARCHITECTURE_ID on more compilers

Provide it whenever we can detect a target architecture from the
compiler during compiler inspection.  In order to avoid changing
existing IDs, do this only for compilers where we don't already
detect a target architecture during compiler identification.

Fixes: #17702
This commit is contained in:
Brad King
2025-03-24 11:41:20 -04:00
parent 019f0f8b32
commit 7f0f382c55
29 changed files with 603 additions and 3 deletions
@@ -0,0 +1,5 @@
compiler-architecture-id
------------------------
* The :variable:`CMAKE_<LANG>_COMPILER_ARCHITECTURE_ID` variable is now
populated for most compilers, and documented for public use.