##// END OF EJS Templates
Add dependencies between target to avoid bug compilation when building...
Add dependencies between target to avoid bug compilation when building in multithread

File last commit:

r17:d164eec363a1
r104:e9600607c0d7
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()