llvm.org GIT mirror llvm / 6519fa1 tools / dsymutil / CMakeLists.txt
6519fa1

Tree @6519fa1 (Download .tar.gz)

CMakeLists.txt @6519fa1raw · history · blame

set(LLVM_LINK_COMPONENTS
  AllTargetsAsmPrinters
  AllTargetsCodeGens
  AllTargetsDescs
  AllTargetsInfos
  AsmPrinter
  DebugInfoDWARF
  MC
  Object
  Support
  Target
  )

add_llvm_tool(dsymutil
  dsymutil.cpp
  BinaryHolder.cpp
  CFBundle.cpp
  CompileUnit.cpp
  DebugMap.cpp
  DeclContext.cpp
  DwarfLinker.cpp
  DwarfStreamer.cpp
  MachODebugMapParser.cpp
  MachOUtils.cpp
  NonRelocatableStringpool.cpp
  SymbolMap.cpp

  DEPENDS
  intrinsics_gen
  )

if(APPLE)
  target_link_libraries(dsymutil PRIVATE "-framework CoreFoundation")
endif(APPLE)