diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-07-15 09:01:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-07-17 13:36:18 (GMT) |
commit | 3151024d241c581463d20bf0ce3d1060bdd22de4 (patch) | |
tree | 1a2a6fdbd521725bf8ed406413400544e633486a /CONTRIBUTING.rst | |
parent | 55d6aa36a522f2dd7849ccd53d9e743a88f8c7a1 (diff) | |
download | CMake-3151024d241c581463d20bf0ce3d1060bdd22de4.zip CMake-3151024d241c581463d20bf0ce3d1060bdd22de4.tar.gz CMake-3151024d241c581463d20bf0ce3d1060bdd22de4.tar.bz2 |
QNX: Add missing flags for configurations and artifact creation.
Commit v3.0.0-rc1~111^2 (QNX: Introduce QCC compiler id for that
QNX platform compiler., 2014-01-20) split handling of the QNX QCC
compiler into a separate compiler-id. That refactoring results in
the QCC compiler not using the CMake-compiler-id "GNU", which means
that the __compiler_gnu macro is no longer executed for it.
Add Compiler/QCC*.cmake modules to define and call the __compiler_qcc
macro and teach it to call __compiler_gnu internally. Remove the
corresponding pieces from the Platform/QNX*.cmake modules.
It is also necessary to change the language conditional to dereference
the lang macro parameter, which is another bug introduced by the
same commit. The extra -lang-c++ flag is only necessary when the CXX
compiler is specified as 'qcc' instead of 'QCC' in the toolchain file,
which is why this bug was not noticed before. The flag is also necessary
in that case when linking in order to find the appropriate standard
libraries. The flag was not previously added when linking executables,
so linking failed even with CMake 2.8.12 with the lower-case compiler-id.
Co-Author: Brad King <brad.king@kitware.com>
Diffstat (limited to 'CONTRIBUTING.rst')
0 files changed, 0 insertions, 0 deletions