mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 06:47:08 -05:00
e00db59d6c
Introduce policy CMP0047 to control resetting the id for
compatibility.
De-duplicate content in the QNX platform file by including the GNU
one. QNX is a form of GNU platform.
Do not clear CMAKE_SHARED_LIBRARY_${lang}_FLAGS variables. They
are populated again later by the Compiler/GNU.cmake file anyway.
Modify the CMAKE_CXX_COMPILE_OBJECT variable only when the QCC
compiler id is in use, and the language is CXX. Use the QNX
recommended flag for QCC instead of the gcc compatible -x flag.
Populate new module files to handle system includes and depfiles
when using the QCC compiler.
Remove code which unsets the system include and depfiles related
variables. When a GNU driver is used instead of the QCC one, the
appropriate flags will be used. These variables were previously
cleared for lowest-common-denominator compatibility with both
drivers.
17 lines
544 B
ReStructuredText
17 lines
544 B
ReStructuredText
CMP0047
|
|
-------
|
|
|
|
Use QCC compiler id for the qcc drivers on QNX.
|
|
|
|
CMake 2.8.12 and lower assigned the QNX qcc and QCC compiler drivers the "GNU"
|
|
compiler id.
|
|
|
|
The OLD behavior for this policy is to use the "GNU" compiler id for the qcc
|
|
and QCC compiler drivers. The NEW behavior for this policy is to use the "QCC"
|
|
compiler id for those drivers.
|
|
|
|
This policy was introduced in CMake version 3.0.0.
|
|
CMake version |release| warns when the policy is not set and uses
|
|
OLD behavior. Use the cmake_policy command to set it to OLD or
|
|
NEW explicitly.
|