summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/Borland-DetermineCompiler.cmake
blob: ef3083b4d116fc83a1e72b58d745e45188b449c8 (plain)
1
2
3
4
5
6
7

set(_compiler_id_pp_test "defined(__BORLANDC__)")

set(_compiler_id_version_compute "
  /* __BORLANDC__ = 0xVRR */
# define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_HEX@(__BORLANDC__>>8)
# define @PREFIX@COMPILER_VERSION_MINOR @MACRO_HEX@(__BORLANDC__ & 0xFF)")