From 8fb8a44f5f1de4c659cc4b4cfe060e91b1e48b9c Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Thu, 24 May 2007 09:35:24 -0400 Subject: ENH: add compiler id for sdcc Alex --- Modules/CMakeCCompilerId.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Modules/CMakeCCompilerId.c b/Modules/CMakeCCompilerId.c index e5250f6..18f0b8f 100644 --- a/Modules/CMakeCCompilerId.c +++ b/Modules/CMakeCCompilerId.c @@ -33,10 +33,18 @@ #elif defined(_MSC_VER) # define COMPILER_ID "MSVC" -/*IAR Systems compiler for embedded systems, beside this id not yet supported*/ +/* IAR Systems compiler for embedded systems. + http://www.iar.com + Beside this id not supported yet by CMake */ #elif defined(__IAR_SYSTEMS_ICC__) # define COMPILER_ID "IAR" +/* sdcc, the small devices C compiler for embedded systems, + http://sdcc.sourceforge.net + Beside this id not supported yet by CMake */ +#elif defined(SDCC) +# define COMPILER_ID "SDCC" + #elif defined(_COMPILER_VERSION) # define COMPILER_ID "MIPSpro" -- cgit v0.12