CMakeLists.txt 736 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. add_subdirectory(ChildTarget)
  2. set(LLVM_LINK_COMPONENTS
  3. CodeGen
  4. Core
  5. ExecutionEngine
  6. IRReader
  7. Instrumentation
  8. Interpreter
  9. # MC # HLSL Change
  10. # MCJIT # HLSL Change
  11. Object
  12. OrcJIT
  13. RuntimeDyld
  14. SelectionDAG
  15. Support
  16. Target
  17. TransformUtils
  18. native
  19. )
  20. if( LLVM_USE_OPROFILE )
  21. set(LLVM_LINK_COMPONENTS
  22. ${LLVM_LINK_COMPONENTS}
  23. OProfileJIT
  24. )
  25. endif( LLVM_USE_OPROFILE )
  26. if( LLVM_USE_INTEL_JITEVENTS )
  27. set(LLVM_LINK_COMPONENTS
  28. ${LLVM_LINK_COMPONENTS}
  29. DebugInfoDWARF
  30. IntelJITEvents
  31. Object
  32. )
  33. endif( LLVM_USE_INTEL_JITEVENTS )
  34. add_llvm_tool(lli
  35. lli.cpp
  36. OrcLazyJIT.cpp
  37. RemoteMemoryManager.cpp
  38. RemoteTarget.cpp
  39. RemoteTargetExternal.cpp
  40. )
  41. export_executable_symbols(lli)