summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Gansterer <paroga@paroga.com>2012-09-05 07:45:39 (GMT)
committerBrad King <brad.king@kitware.com>2012-09-05 11:33:12 (GMT)
commite7cb80556eddc33dfa81c8ba1070a448d8eea5f9 (patch)
treecc1d1b6399514d666f55f1b94c89af81aebf63dc
parent508ed6940b447c2fb6b5fe4f036138ce57ab3c4c (diff)
downloadCMake-e7cb80556eddc33dfa81c8ba1070a448d8eea5f9.zip
CMake-e7cb80556eddc33dfa81c8ba1070a448d8eea5f9.tar.gz
CMake-e7cb80556eddc33dfa81c8ba1070a448d8eea5f9.tar.bz2
Add additional architectures to CMakePlatformId.h.in
Detect the MIPS and SHx architecture for MSVC compiler.
-rw-r--r--Modules/CMakePlatformId.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/CMakePlatformId.h.in b/Modules/CMakePlatformId.h.in
index 4b360f7..c373414 100644
--- a/Modules/CMakePlatformId.h.in
+++ b/Modules/CMakePlatformId.h.in
@@ -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