summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCXXCompilerId.cpp
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/CMakeCXXCompilerId.cpp
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/CMakeCXXCompilerId.cpp')
-rw-r--r--Modules/CMakeCXXCompilerId.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/CMakeCXXCompilerId.cpp b/Modules/CMakeCXXCompilerId.cpp
index 88d4771..1f714d9 100644
--- a/Modules/CMakeCXXCompilerId.cpp
+++ b/Modules/CMakeCXXCompilerId.cpp
@@ -35,6 +35,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"
+
#elif defined(_COMPILER_VERSION)
# define COMPILER_ID "MIPSpro"