]> git.proxmox.com Git - rustc.git/blame - src/llvm/lib/Transforms/Hello/CMakeLists.txt
Imported Upstream version 1.0.0+dfsg1
[rustc.git] / src / llvm / lib / Transforms / Hello / CMakeLists.txt
CommitLineData
1a4d82fc
JJ
1# If we don't need RTTI or EH, there's no reason to export anything
2# from the hello plugin.
3if( NOT LLVM_REQUIRES_RTTI )
4 if( NOT LLVM_REQUIRES_EH )
5 set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/Hello.exports)
6 endif()
7endif()
8
9if(WIN32 OR CYGWIN)
10 set(LLVM_LINK_COMPONENTS Core Support)
11endif()
12
223e47cc
LB
13add_llvm_loadable_module( LLVMHello
14 Hello.cpp
15 )