This reapplies85c649bc02, which was reverted in35767e43d6due to failures with some example programs. The fix was to add export_executable_symbols to the example programs.
18 lines
262 B
CMake
18 lines
262 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Core
|
|
ExecutionEngine
|
|
IRReader
|
|
JITLink
|
|
MC
|
|
OrcJIT
|
|
Support
|
|
Target
|
|
nativecodegen
|
|
)
|
|
|
|
add_llvm_example(OrcV2CBindingsAddObjectFile
|
|
OrcV2CBindingsAddObjectFile.c
|
|
)
|
|
|
|
export_executable_symbols(OrcV2CBindingsAddObjectFile)
|