summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/CMakeLists.txt1
-rw-r--r--tools/bugpoint-passes/CMakeLists.txt3
-rw-r--r--tools/bugpoint/CMakeLists.txt1
3 files changed, 4 insertions, 1 deletions
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
index b9c77b1c8a..6ca57302d2 100644
--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -29,6 +29,7 @@ add_subdirectory(lli)
add_subdirectory(llvm-extract)
add_subdirectory(bugpoint)
+add_subdirectory(bugpoint-passes)
add_subdirectory(llvm-bcanalyzer)
add_subdirectory(llvm-stub)
add_subdirectory(edis)
diff --git a/tools/bugpoint-passes/CMakeLists.txt b/tools/bugpoint-passes/CMakeLists.txt
new file mode 100644
index 0000000000..50109a52c2
--- /dev/null
+++ b/tools/bugpoint-passes/CMakeLists.txt
@@ -0,0 +1,3 @@
+add_llvm_loadable_module( BugpointPasses
+ TestPasses.cpp
+ )
diff --git a/tools/bugpoint/CMakeLists.txt b/tools/bugpoint/CMakeLists.txt
index 34b759fd87..e06feb1003 100644
--- a/tools/bugpoint/CMakeLists.txt
+++ b/tools/bugpoint/CMakeLists.txt
@@ -9,7 +9,6 @@ add_llvm_tool(bugpoint
FindBugs.cpp
Miscompilation.cpp
OptimizerDriver.cpp
- TestPasses.cpp
ToolRunner.cpp
bugpoint.cpp
)