1 if ( LLVM_INCLUDE_UTILS )
2 add_subdirectory(llvm-jitlink-executor)
5 set(LLVM_LINK_COMPONENTS
7 AllTargetsDisassemblers
23 add_llvm_tool(llvm-jitlink
27 llvm-jitlink-macho.cpp
28 llvm-jitlink-statistics.cpp
31 if(${CMAKE_SYSTEM_NAME} MATCHES "Haiku")
32 target_link_libraries(llvm-jitlink PRIVATE network)
35 if(${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
36 target_link_libraries(llvm-jitlink PRIVATE socket nsl)
39 export_executable_symbols(llvm-jitlink)