You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
918 B
26 lines
918 B
8 months ago
|
include(Compiler/Clang-CXX)
|
||
|
include(Compiler/TIClang)
|
||
|
__compiler_ticlang(CXX)
|
||
|
|
||
|
if((NOT DEFINED CMAKE_DEPENDS_USE_COMPILER OR CMAKE_DEPENDS_USE_COMPILER)
|
||
|
AND CMAKE_GENERATOR MATCHES "Makefiles|WMake"
|
||
|
AND CMAKE_DEPFILE_FLAGS_CXX)
|
||
|
# dependencies are computed by the compiler itself
|
||
|
set(CMAKE_CXX_DEPFILE_FORMAT gcc)
|
||
|
set(CMAKE_CXX_DEPENDS_USE_COMPILER TRUE)
|
||
|
endif()
|
||
|
|
||
|
set(CMAKE_CXX98_STANDARD_COMPILE_OPTION "-std=c++98")
|
||
|
set(CMAKE_CXX98_EXTENSION_COMPILE_OPTION "-std=gnu++98")
|
||
|
set(CMAKE_CXX98_STANDARD__HAS_FULL_SUPPORT ON)
|
||
|
|
||
|
set(CMAKE_CXX11_STANDARD_COMPILE_OPTION "-std=c++11")
|
||
|
set(CMAKE_CXX11_EXTENSION_COMPILE_OPTION "-std=gnu++11")
|
||
|
|
||
|
set(CMAKE_CXX14_STANDARD_COMPILE_OPTION "-std=c++14")
|
||
|
set(CMAKE_CXX14_EXTENSION_COMPILE_OPTION "-std=gnu++14")
|
||
|
set(CMAKE_CXX14_STANDARD__HAS_FULL_SUPPORT ON)
|
||
|
|
||
|
set(CMAKE_CXX17_STANDARD_COMPILE_OPTION "-std=c++17")
|
||
|
set(CMAKE_CXX17_EXTENSION_COMPILE_OPTION "-std=gnu++17")
|