diff options
Diffstat (limited to 'tools/lli/CMakeLists.txt')
-rw-r--r-- | tools/lli/CMakeLists.txt | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/tools/lli/CMakeLists.txt b/tools/lli/CMakeLists.txt index 5f8c7c9..731b61a 100644 --- a/tools/lli/CMakeLists.txt +++ b/tools/lli/CMakeLists.txt @@ -1,8 +1,19 @@ - -set(LLVM_LINK_COMPONENTS mcjit jit interpreter nativecodegen bitreader asmparser irreader selectiondag native instrumentation) - add_subdirectory(ChildTarget) +set(LLVM_LINK_COMPONENTS + CodeGen + Core + ExecutionEngine + IRReader + Instrumentation + Interpreter + JIT + MCJIT + SelectionDAG + Support + native + ) + if( LLVM_USE_OPROFILE ) set(LLVM_LINK_COMPONENTS ${LLVM_LINK_COMPONENTS} @@ -25,3 +36,4 @@ add_llvm_tool(lli RemoteTarget.cpp RemoteTargetExternal.cpp ) +set_target_properties(lli PROPERTIES ENABLE_EXPORTS 1) |