From 39d6672e823e928e3edd38d78e89ce3a889ae55d Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sun, 23 Mar 2025 15:32:26 +0100 Subject: [PATCH] Help: Document QCC and SCO CMAKE__COMPILER_ID - QNX C/C++ compiler is identified in `CMAKE__COMPILER_ID` as value "QCC". The qcc/q++ are frontend compiler commands that invoke the GNU compiler (gcc/g++) as a backend compiler, but it's treated as a separate compiler with its own ID for better determination. - The C/C++ compiler on UnixWare/OpenServer is identified in `CMAKE__COMPILER_ID` as value "SCO", (compiler that defines the `__SCO_VERSION__` preprocessor macro). --- Help/variable/CMAKE_LANG_COMPILER_ID.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Help/variable/CMAKE_LANG_COMPILER_ID.rst b/Help/variable/CMAKE_LANG_COMPILER_ID.rst index f46ac73adc..bed7dc2042 100644 --- a/Help/variable/CMAKE_LANG_COMPILER_ID.rst +++ b/Help/variable/CMAKE_LANG_COMPILER_ID.rst @@ -41,6 +41,8 @@ Value Name ``OpenWatcom`` `Open Watcom`_ ``PGI`` The Portland Group ``PathScale`` PathScale +``QCC`` QNX C/C++ compiler +``SCO`` SCO OpenServer/UnixWare C/C++ Compiler ``SDCC`` `Small Device C Compiler`_ ``SunPro`` Oracle Developer Studio ``Tasking`` `Tasking Compiler Toolsets`_