[ASan] Make insertion of version mismatch guard configurable
[llvm-core.git] / lib / Transforms / Hello / CMakeLists.txt
blobc4f10247c1a6ccab7d9d872761702c834282fcc8
1 # If we don't need RTTI or EH, there's no reason to export anything
2 # from the hello plugin.
3 if( NOT LLVM_REQUIRES_RTTI )
4   if( NOT LLVM_REQUIRES_EH )
5     set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/Hello.exports)
6   endif()
7 endif()
9 if(WIN32 OR CYGWIN)
10   set(LLVM_LINK_COMPONENTS Core Support)
11 endif()
13 add_llvm_library( LLVMHello MODULE BUILDTREE_ONLY
14   Hello.cpp
16   DEPENDS
17   intrinsics_gen
18   PLUGIN_TOOL
19   opt
20   )