llvm.org GIT mirror llvm / 15deec7
Set LLVM_EXPORTED_SYMBOL_FILE in CMakeLists whose corresponding Makefiles do so. (unittests/ExecutionEngine/JIT/CMakeLists.txt is still missing for now, since it handles export files in a strange way: It generates a .exports file from a .def file instead of the other way round.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198183 91177308-0d34-0410-b5e6-96231b3b80d8 Nico Weber 5 years ago
2 changed file(s) with 16 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 # If we don't need RTTI or EH, there's no reason to export anything
1 # from the hello plugin.
2 if( NOT LLVM_REQUIRES_RTTI )
3 if( NOT LLVM_REQUIRES_EH )
4 set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/Hello.exports)
5 endif()
6 endif()
7
8 add_llvm_loadable_module( LLVMHello
19 Hello.cpp
210 )
0 if( NOT LLVM_BUILD_TOOLS )
11 set(EXCLUDE_FROM_ALL ON)
2 endif()
3
4 # If we don't need RTTI or EH, there's no reason to export anything
5 # from this plugin.
6 if( NOT LLVM_REQUIRES_RTTI )
7 if( NOT LLVM_REQUIRES_EH )
8 set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/bugpoint.exports)
9 endif()
210 endif()
311
412 add_llvm_loadable_module( BugpointPasses