Debian Codegraph @

clang/examples/PrintFunctionNames/CMakeLists.txt

raw
1 # There's no reason to export anything from the plugin.
2 set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/PrintFunctionNames.exports)
3
4 add_llvm_library(PrintFunctionNames MODULE PrintFunctionNames.cpp PLUGIN_TOOL clang)
5
6 if(WIN32 OR CYGWIN)
7 set(LLVM_LINK_COMPONENTS
8 Support
9 )
10 clang_target_link_libraries(PrintFunctionNames PRIVATE
11 clangAST
12 clangBasic
13 clangFrontend
14 )
15 endif()