CMP0047
CMP0047
Use QCC
compiler id for the qcc drivers on QNX.
CMake 3.0 and above recognize that the QNX qcc compiler driver is different from the GNU compiler. CMake now prefers to present this to projects by setting the CMAKE_<LANG>_COMPILER_ID
variable to QCC
instead of GNU
. However, existing projects may assume the compiler id for QNX qcc is just GNU
as it was in CMake versions prior to 3.0. Therefore this policy determines for QNX qcc which compiler id to report in the CMAKE_<LANG>_COMPILER_ID
variable after language <LANG>
is enabled by the 登录查看完整内容