[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / tools / llvm-jitlink / CMakeLists.txt
blob1480be3f03c6d7c0825a9c16941a4f5cee78a531
1 if ( LLVM_INCLUDE_UTILS )
2   add_subdirectory(llvm-jitlink-executor)
3 endif()
5 set(LLVM_LINK_COMPONENTS
6   AllTargetsDescs
7   AllTargetsDisassemblers
8   AllTargetsInfos
9   BinaryFormat
10   ExecutionEngine
11   JITLink
12   MC
13   Object
14   OrcDebugging
15   OrcJIT
16   OrcShared
17   OrcTargetProcess
18   RuntimeDyld
19   Support
20   TargetParser
21   )
23 add_llvm_tool(llvm-jitlink
24   llvm-jitlink.cpp
25   llvm-jitlink-coff.cpp
26   llvm-jitlink-elf.cpp
27   llvm-jitlink-macho.cpp
28   llvm-jitlink-statistics.cpp
29   )
31 if(${CMAKE_SYSTEM_NAME} MATCHES "Haiku")
32   target_link_libraries(llvm-jitlink PRIVATE network)
33 endif()
35 if(${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
36   target_link_libraries(llvm-jitlink PRIVATE socket nsl)
37 endif()
39 export_executable_symbols(llvm-jitlink)