2016-10-30 18:24:19 +01:00
|
|
|
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
|
|
# file Copyright.txt or https://cmake.org/licensing for details.
|
|
|
|
|
2014-08-08 17:52:44 +02:00
|
|
|
|
|
|
|
include(Compiler/GNU)
|
|
|
|
|
|
|
|
macro(__compiler_qcc lang)
|
|
|
|
__compiler_gnu(${lang})
|
|
|
|
|
|
|
|
# http://www.qnx.com/developers/docs/6.4.0/neutrino/utilities/q/qcc.html#examples
|
|
|
|
set(CMAKE_${lang}_COMPILE_OPTIONS_TARGET "-V")
|
|
|
|
|
|
|
|
set(CMAKE_INCLUDE_SYSTEM_FLAG_${lang} "-Wp,-isystem,")
|
2016-07-09 11:21:54 +02:00
|
|
|
set(CMAKE_DEPFILE_FLAGS_${lang} "-Wc,-MD,<DEPFILE>,-MT,<OBJECT>,-MF,<DEPFILE>")
|
2017-07-20 19:35:53 +02:00
|
|
|
|
|
|
|
set(_CMAKE_${lang}_IPO_SUPPORTED_BY_CMAKE NO)
|
|
|
|
set(_CMAKE_${lang}_IPO_MAY_BE_SUPPORTED_BY_COMPILER NO)
|
|
|
|
|
|
|
|
unset(CMAKE_${lang}_COMPILE_OPTIONS_IPO)
|
|
|
|
unset(CMAKE_${lang}_ARCHIVE_CREATE_IPO)
|
|
|
|
unset(CMAKE_${lang}_ARCHIVE_APPEND_IPO)
|
|
|
|
unset(CMAKE_${lang}_ARCHIVE_FINISH_IPO)
|
2014-08-08 17:52:44 +02:00
|
|
|
endmacro()
|