diff options
-rw-r--r-- | Modules/CMakeCCompilerId.c | 10 |
1 files changed, 9 insertions, 1 deletions
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" |