]> granicus.if.org Git - llvm/commitdiff
cmake: Don't install plugins used for examples or tests
authorTom Stellard <tstellar@redhat.com>
Mon, 14 Jan 2019 18:25:35 +0000 (18:25 +0000)
committerTom Stellard <tstellar@redhat.com>
Mon, 14 Jan 2019 18:25:35 +0000 (18:25 +0000)
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

lib/Transforms/Hello/CMakeLists.txt
tools/bugpoint-passes/CMakeLists.txt
unittests/Passes/CMakeLists.txt

index d9cd33a4938e82e5fd0812fbf78fd4399f4a1e4d..c4f10247c1a6ccab7d9d872761702c834282fcc8 100644 (file)
@@ -10,7 +10,7 @@ if(WIN32 OR CYGWIN)
   set(LLVM_LINK_COMPONENTS Core Support)
 endif()
 
-add_llvm_library( LLVMHello MODULE
+add_llvm_library( LLVMHello MODULE BUILDTREE_ONLY
   Hello.cpp
 
   DEPENDS
index 56a7eacebf1acd466b30d1de59d884bb3067fb9a..eea3e239b80830d1d8914d9e59829f5394962349 100644 (file)
@@ -14,7 +14,7 @@ if(WIN32 OR CYGWIN)
   set(LLVM_LINK_COMPONENTS Core)
 endif()
 
-add_llvm_library( BugpointPasses MODULE
+add_llvm_library( BugpointPasses MODULE BUILDTREE_ONLY
   TestPasses.cpp
 
   DEPENDS
index 7e898763373d53e195afcb48b02a207e29aa9662..3e83b527958a65f0289da572b0144b13443671ef 100644 (file)
@@ -15,7 +15,7 @@ export_executable_symbols(PluginsTests)
 target_link_libraries(PluginsTests PRIVATE LLVMTestingSupport)
 
 set(LLVM_LINK_COMPONENTS)
-add_llvm_library(TestPlugin MODULE
+add_llvm_library(TestPlugin MODULE BUILDTREE_ONLY
   TestPlugin.cpp
   )