[cmake-commits] alex committed CMakeCCompilerId.c 1.12 1.13
CMakeCXXCompilerId.cpp 1.7 1.8
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Jul 12 13:41:02 EDT 2007
Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv30988
Modified Files:
CMakeCCompilerId.c CMakeCXXCompilerId.cpp
Log Message:
ENH: add support for the ADSP toolchains for Blackfin, Shark and TigerShark
DSPs, patch from Raphael Cotty
Alex
Index: CMakeCCompilerId.c
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/CMakeCCompilerId.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- CMakeCCompilerId.c 26 Jun 2007 17:19:46 -0000 1.12
+++ CMakeCCompilerId.c 12 Jul 2007 17:41:00 -0000 1.13
@@ -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
Index: CMakeCXXCompilerId.cpp
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/CMakeCXXCompilerId.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- CMakeCXXCompilerId.cpp 23 May 2007 15:00:54 -0000 1.7
+++ CMakeCXXCompilerId.cpp 12 Jul 2007 17:41:00 -0000 1.8
@@ -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"
More information about the Cmake-commits
mailing list