summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCCompilerId.c
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-07-12 17:41:00 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-07-12 17:41:00 (GMT)
commitd090159318dc2d35e6f9d5568126b8d38c87320f (patch)
tree1a032791cc32ffa11c9861e777d593c43b0cd707 /Modules/CMakeCCompilerId.c
parentc8010cd7fb0f87dd6ceb07679a2840029f4238a3 (diff)
downloadCMake-d090159318dc2d35e6f9d5568126b8d38c87320f.zip
CMake-d090159318dc2d35e6f9d5568126b8d38c87320f.tar.gz
CMake-d090159318dc2d35e6f9d5568126b8d38c87320f.tar.bz2
ENH: add support for the ADSP toolchains for Blackfin, Shark and TigerShark
DSPs, patch from Raphael Cotty Alex
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