##// END OF EJS Templates
Give executable name to parent to be able to find in in the package cmake file
Give executable name to parent to be able to find in in the package cmake file

File last commit:

r17:d164eec363a1
r49:d3f4b1e4846d
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()