X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=tools%2Fbugpoint%2FCMakeLists.txt;h=0000d977acf301e5c5215a63eb9b4b8f6c3c7bd8;hb=0a230e0d985625a3909cb78fd867a3abaf434565;hp=731c7bf6f98ec1aa456d50c06b1fd855383c8a0b;hpb=4e9c939312ff73bd0c6a6485fd5f97012f5910fa;p=oota-llvm.git diff --git a/tools/bugpoint/CMakeLists.txt b/tools/bugpoint/CMakeLists.txt index 731c7bf6f98..0000d977acf 100644 --- a/tools/bugpoint/CMakeLists.txt +++ b/tools/bugpoint/CMakeLists.txt @@ -1,3 +1,6 @@ +set(LLVM_LINK_COMPONENTS asmparser instrumentation scalaropts ipo + linker bitreader bitwriter irreader vectorize objcarcopts) + add_llvm_tool(bugpoint BugDriver.cpp CrashDebugger.cpp @@ -9,13 +12,4 @@ add_llvm_tool(bugpoint ToolRunner.cpp bugpoint.cpp ) - -target_link_libraries(bugpoint - LLVMAsmParser - LLVMInstrumentation - LLVMScalarOpts - LLVMipo - LLVMLinker - LLVMBitReader - LLVMBitWriter - ) +set_target_properties(bugpoint PROPERTIES ENABLE_EXPORTS 1)