diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-05-24 13:35:24 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-05-24 13:35:24 (GMT) |
commit | 8fb8a44f5f1de4c659cc4b4cfe060e91b1e48b9c (patch) | |
tree | 2639eaa46e1482d810a62c61db391bfef82fe0e6 /Modules/CMakeCCompilerId.c | |
parent | 00e6d62fd13953ce52f5507f6263504261e7687c (diff) | |
download | CMake-8fb8a44f5f1de4c659cc4b4cfe060e91b1e48b9c.zip CMake-8fb8a44f5f1de4c659cc4b4cfe060e91b1e48b9c.tar.gz CMake-8fb8a44f5f1de4c659cc4b4cfe060e91b1e48b9c.tar.bz2 |
ENH: add compiler id for sdcc
Alex
Diffstat (limited to 'Modules/CMakeCCompilerId.c')
-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" |