projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't use a potentially expensive shift if all we want is one set bit.
[oota-llvm.git]
/
tools
/
bugpoint
/
CMakeLists.txt
diff --git
a/tools/bugpoint/CMakeLists.txt
b/tools/bugpoint/CMakeLists.txt
index 731c7bf6f98ec1aa456d50c06b1fd855383c8a0b..0000d977acf301e5c5215a63eb9b4b8f6c3c7bd8 100644
(file)
--- 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
add_llvm_tool(bugpoint
BugDriver.cpp
CrashDebugger.cpp
@@
-9,13
+12,4
@@
add_llvm_tool(bugpoint
ToolRunner.cpp
bugpoint.cpp
)
ToolRunner.cpp
bugpoint.cpp
)
-
-target_link_libraries(bugpoint
- LLVMAsmParser
- LLVMInstrumentation
- LLVMScalarOpts
- LLVMipo
- LLVMLinker
- LLVMBitReader
- LLVMBitWriter
- )
+set_target_properties(bugpoint PROPERTIES ENABLE_EXPORTS 1)