Skip to content

Commit cbad289

Browse files
committed
cmake: Don't install plugins used for examples or tests
Summary: This patch drops install targets for LLVMHello.so, TestPlugin.so, and BugpointPasses.so. Reviewers: chandlerc, beanz, thakis, philip.pfaffe Reviewed By: chandlerc Subscribers: SquallATF, mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D55965 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351087 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 332a269 commit cbad289

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/Transforms/Hello/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if(WIN32 OR CYGWIN)
1010
set(LLVM_LINK_COMPONENTS Core Support)
1111
endif()
1212

13-
add_llvm_library( LLVMHello MODULE
13+
add_llvm_library( LLVMHello MODULE BUILDTREE_ONLY
1414
Hello.cpp
1515

1616
DEPENDS

tools/bugpoint-passes/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if(WIN32 OR CYGWIN)
1414
set(LLVM_LINK_COMPONENTS Core)
1515
endif()
1616

17-
add_llvm_library( BugpointPasses MODULE
17+
add_llvm_library( BugpointPasses MODULE BUILDTREE_ONLY
1818
TestPasses.cpp
1919

2020
DEPENDS

unittests/Passes/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export_executable_symbols(PluginsTests)
1515
target_link_libraries(PluginsTests PRIVATE LLVMTestingSupport)
1616

1717
set(LLVM_LINK_COMPONENTS)
18-
add_llvm_library(TestPlugin MODULE
18+
add_llvm_library(TestPlugin MODULE BUILDTREE_ONLY
1919
TestPlugin.cpp
2020
)
2121

0 commit comments

Comments
 (0)