[llvm] r212904 - [CMake] Add LLVM_LINK_COMPONENTS to loadable modules, LLVMHello and BugpointPasses, on Win32.
NAKAMURA Takumi
geek4civic at gmail.com
Sun Jul 13 06:36:48 PDT 2014
Author: chapuni
Date: Sun Jul 13 08:36:48 2014
New Revision: 212904
URL: http://llvm.org/viewvc/llvm-project?rev=212904&view=rev
Log:
[CMake] Add LLVM_LINK_COMPONENTS to loadable modules, LLVMHello and BugpointPasses, on Win32.
Modified:
llvm/trunk/lib/Transforms/Hello/CMakeLists.txt
llvm/trunk/tools/bugpoint-passes/CMakeLists.txt
Modified: llvm/trunk/lib/Transforms/Hello/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Hello/CMakeLists.txt?rev=212904&r1=212903&r2=212904&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Hello/CMakeLists.txt (original)
+++ llvm/trunk/lib/Transforms/Hello/CMakeLists.txt Sun Jul 13 08:36:48 2014
@@ -6,6 +6,10 @@ if( NOT LLVM_REQUIRES_RTTI )
endif()
endif()
+if(WIN32 OR CYGWIN)
+ set(LLVM_LINK_COMPONENTS Core Support)
+endif()
+
add_llvm_loadable_module( LLVMHello
Hello.cpp
)
Modified: llvm/trunk/tools/bugpoint-passes/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/bugpoint-passes/CMakeLists.txt?rev=212904&r1=212903&r2=212904&view=diff
==============================================================================
--- llvm/trunk/tools/bugpoint-passes/CMakeLists.txt (original)
+++ llvm/trunk/tools/bugpoint-passes/CMakeLists.txt Sun Jul 13 08:36:48 2014
@@ -10,6 +10,10 @@ if( NOT LLVM_REQUIRES_RTTI )
endif()
endif()
+if(WIN32 OR CYGWIN)
+ set(LLVM_LINK_COMPONENTS Core)
+endif()
+
add_llvm_loadable_module( BugpointPasses
TestPasses.cpp
)
More information about the llvm-commits
mailing list