compiler.cmake
11 lines
| 312 B
| text/x-cmake
|
CMakeLexer
r0 | # | |||
# compiler.cmake : configure the compilation flags | ||||
# | ||||
r11 | IF("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") | |||
r0 | INCLUDE("cmake/compiler/compiler_gnu.cmake") | |||
r11 | ELSEIF("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") | |||
r0 | INCLUDE("cmake/compiler/compiler_msvc.cmake") | |||
ELSE() | ||||
MESSAGE(FATAL_ERROR "Compiler not supported") | ||||
ENDIF() | ||||