cmake/Modules/Compiler/QCC-CXX.cmake

16 lines
574 B
CMake
Raw Normal View History

2019-11-11 23:01:05 +01:00
# To include compiler feature detection
include(Compiler/GNU-CXX)
2014-08-08 17:52:44 +02:00
include(Compiler/QCC)
__compiler_qcc(CXX)
# If the toolchain uses qcc for CMAKE_CXX_COMPILER instead of QCC, the
# default for the driver is not c++.
set(CMAKE_CXX_COMPILE_OBJECT
2015-11-17 17:22:37 +01:00
"<CMAKE_CXX_COMPILER> -lang-c++ <DEFINES> <INCLUDES> <FLAGS> -o <OBJECT> -c <SOURCE>")
2014-08-08 17:52:44 +02:00
set(CMAKE_CXX_LINK_EXECUTABLE
2020-08-30 11:54:41 +02:00
"<CMAKE_CXX_COMPILER> -lang-c++ <FLAGS> <CMAKE_CXX_LINK_FLAGS> <LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>")
2014-08-08 17:52:44 +02:00
set(CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY_INLINES_HIDDEN "-fvisibility-inlines-hidden")