Revision df1693bdfc7bc0afa26b2f8673006186a822c735 authored by Brad King on 01 February 2018, 16:13:24 UTC, committed by Brad King on 01 February 2018, 19:58:25 UTC
In commit v3.4.0-rc1~480^2~3 (cmCustomCommandGenerator: Port to
cmOutputConverter, 2015-06-04), cmCustomCommandGenerator's access to the
local generator was removed so it needed to construct its own
cmOutputConverter instance.  Access to the local generator was then
restored by commit v3.4.0-rc1~285^2~21 (cmCustomCommandGenerator:
Require cmLocalGenerator in API, 2015-07-25), so now we can use its
cmOutputConverter base class methods directly.
1 parent 5a16e76
Raw File
Watcom-DetermineCompiler.cmake

set(_compiler_id_pp_test "defined(__WATCOMC__) && __WATCOMC__ < 1200")

set(_compiler_id_version_compute "
   /* __WATCOMC__ = VVRR */
# define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_DEC@(__WATCOMC__ / 100)
# define @PREFIX@COMPILER_VERSION_MINOR @MACRO_DEC@((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
#  define @PREFIX@COMPILER_VERSION_PATCH @MACRO_DEC@(__WATCOMC__ % 10)
# endif")
back to top