##// END OF EJS Templates
commit VC
commit VC

File last commit:

r17:d164eec363a1
r683:4d03130678b7
Show More
compiler.cmake
14 lines | 440 B | text/x-cmake | CMakeLexer
#
# compiler.cmake : configure the compilation flags
#
message("Compiler id: ${CMAKE_CXX_COMPILER_ID}")
IF("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
MESSAGE("Compiler supported")
ELSEIF("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
MESSAGE("Compiler supported")
ELSEIF("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
INCLUDE("cmake/compiler/compiler_msvc.cmake")
ELSE()
MESSAGE(FATAL_ERROR "Compiler not supported")
ENDIF()