ENH: add compiler id for sdcc

Alex
This commit is contained in:
Alexander Neundorf 2007-05-24 09:35:24 -04:00
parent 00e6d62fd1
commit 8fb8a44f5f
1 changed files with 9 additions and 1 deletions

View File

@ -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"