Add additional architectures to CMakePlatformId.h.in

Detect the MIPS and SHx architecture for MSVC compiler.
This commit is contained in:
Patrick Gansterer 2012-09-05 09:45:39 +02:00 committed by Brad King
parent 508ed6940b
commit e7cb80556e
1 changed files with 6 additions and 0 deletions

View File

@ -100,6 +100,12 @@
# elif defined(_M_ARM)
# define ARCHITECTURE_ID "ARM"
# elif defined(_M_MIPS)
# define ARCHITECTURE_ID "MIPS"
# elif defined(_M_SH)
# define ARCHITECTURE_ID "SHx"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif