summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCCompilerId.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/CMakeCCompilerId.c')
-rw-r--r--Modules/CMakeCCompilerId.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/CMakeCCompilerId.c b/Modules/CMakeCCompilerId.c
index c25c278..f88f57e 100644
--- a/Modules/CMakeCCompilerId.c
+++ b/Modules/CMakeCCompilerId.c
@@ -33,6 +33,11 @@
#elif defined(_MSC_VER)
# define COMPILER_ID "MSVC"
+#elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
+/* Analog Devices C++ compiler for Blackfin, TigerSHARC and
+ SHARC (21000) DSPs */
+# define COMPILER_ID "ADSP"
+
/* IAR Systems compiler for embedded systems.
http://www.iar.com
Not supported yet by CMake