diff options
Diffstat (limited to 'share/cmake-3.18/Modules/Compiler/Compaq-C-DetermineCompiler.cmake')
-rw-r--r-- | share/cmake-3.18/Modules/Compiler/Compaq-C-DetermineCompiler.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/share/cmake-3.18/Modules/Compiler/Compaq-C-DetermineCompiler.cmake b/share/cmake-3.18/Modules/Compiler/Compaq-C-DetermineCompiler.cmake new file mode 100644 index 0000000..02e99dc --- /dev/null +++ b/share/cmake-3.18/Modules/Compiler/Compaq-C-DetermineCompiler.cmake @@ -0,0 +1,8 @@ + +set(_compiler_id_pp_test "defined(__DECC)") + +set(_compiler_id_version_compute " + /* __DECC_VER = VVRRTPPPP */ +# define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_DEC@(__DECC_VER/10000000) +# define @PREFIX@COMPILER_VERSION_MINOR @MACRO_DEC@(__DECC_VER/100000 % 100) +# define @PREFIX@COMPILER_VERSION_PATCH @MACRO_DEC@(__DECC_VER % 10000)") |