2014-05-07 14:25:39 +04:00
|
|
|
|
|
|
|
# sdcc, the small devices C compiler for embedded systems,
|
|
|
|
# http://sdcc.sourceforge.net */
|
|
|
|
set(_compiler_id_pp_test "defined(SDCC)")
|
|
|
|
|
|
|
|
set(_compiler_id_version_compute "
|
|
|
|
/* SDCC = VRP */
|
2014-06-05 15:14:54 +04:00
|
|
|
# define COMPILER_VERSION_MAJOR @MACRO_DEC@(SDCC/100)
|
|
|
|
# define COMPILER_VERSION_MINOR @MACRO_DEC@(SDCC/10 % 10)
|
|
|
|
# define COMPILER_VERSION_PATCH @MACRO_DEC@(SDCC % 10)")
|