Subversion Repositories QNX 8.QNX8 LLVM/Clang compiler suite

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
14 pmbaty 1
macro(set_llvm_target_triple)
2
  set(LLVM_DEFAULT_TARGET_TRIPLE "${LLVM_DEFAULT_TARGET_TRIPLE_default}" CACHE STRING
3
  "Default target for which LLVM will generate code." )
4
  if (TARGET_TRIPLE)
5
    message(WARNING "TARGET_TRIPLE is deprecated and will be removed in a future release. "
6
    "Please use LLVM_DEFAULT_TARGET_TRIPLE instead.")
7
    set(LLVM_TARGET_TRIPLE "${TARGET_TRIPLE}")
8
  else()
9
    set(LLVM_TARGET_TRIPLE "${LLVM_DEFAULT_TARGET_TRIPLE}")
10
  endif()
11
  message(STATUS "LLVM host triple: ${LLVM_HOST_TRIPLE}")
12
  message(STATUS "LLVM default target triple: ${LLVM_DEFAULT_TARGET_TRIPLE}")
13
endmacro()