llvm.org GIT mirror llvm / release_40 lib / Target / CMakeLists.txt
release_40

Tree @release_40 (Download .tar.gz)

CMakeLists.txt @release_40

e4fc473
 
dfe568d
 
3d01fc7
 
c55db82
f014412
3d01fc7
d6b7b8f
c371307
 
 
3d01fc7
6d857ca
 
 
 
7b1dd9a
list(APPEND LLVM_COMMON_DEPENDS intrinsics_gen)

list(APPEND LLVM_TABLEGEN_FLAGS -I ${LLVM_MAIN_SRC_DIR}/lib/Target)

add_llvm_library(LLVMTarget
  Target.cpp
  TargetIntrinsicInfo.cpp
  TargetLoweringObjectFile.cpp
  TargetMachine.cpp
  TargetMachineC.cpp

  ADDITIONAL_HEADER_DIRS
  ${LLVM_MAIN_INCLUDE_DIR}/llvm/Target
  )

foreach(t ${LLVM_TARGETS_TO_BUILD})
  message(STATUS "Targeting ${t}")
  add_subdirectory(${t})
endforeach()