Skip to content

WIP: Determine target architecture for all C/CXX compilers

WIP because:

  • I don't have a great way to test any platforms apart from x86_64 (mingw64) at hand.
  • For the ARM architectures, I used the MS naming convention (ARM4I and ARM5I) for cross-platform consistency, even though the other references I found named them ARM4T and ARM5T.
  • I didn't implement anything equivalent to the code in CMakeDetermineCompilerId.cmake to distinguish SuperH versions. There's per-SuperH arch macros listed on sourceforce but not the SH3DSP variant.

We can probably ignore most of these, since the only in-tree user is FindBoost.cmake, and it currently only cares about IA64, X86, x64, MIPS, and anything starting with ARM.

Closes: #17701, #17702

Edited by Paul "TBBle" Hampson

Merge request reports