X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=tools%2Fllc%2FCMakeLists.txt;h=dcbcf9da6128be8658c23129b660e9053cf939bd;hb=de89228dfbe492c06f3fda6629e036643348f457;hp=97c762b7f6fe240e8249cbb0f82f4766cf1047e3;hpb=7437feefbbb6b33a69ad9391cba29c30717dfcf6;p=oota-llvm.git diff --git a/tools/llc/CMakeLists.txt b/tools/llc/CMakeLists.txt index 97c762b7f6f..dcbcf9da612 100644 --- a/tools/llc/CMakeLists.txt +++ b/tools/llc/CMakeLists.txt @@ -1,6 +1,20 @@ -set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} bitreader asmparser irreader) +set(LLVM_LINK_COMPONENTS + ${LLVM_TARGETS_TO_BUILD} + Analysis + AsmPrinter + CodeGen + Core + IRReader + MC + ScalarOpts + SelectionDAG + Support + ) + +# Support plugins. +set(LLVM_NO_DEAD_STRIP 1) add_llvm_tool(llc llc.cpp ) -set_target_properties(llc PROPERTIES ENABLE_EXPORTS 1) +export_executable_symbols(llc)