llvm-for-llvmta/tools/clang/examples/AnnotateFunctions/CMakeLists.txt

14 lines
302 B
CMake
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
add_llvm_library(AnnotateFunctions MODULE AnnotateFunctions.cpp PLUGIN_TOOL clang)
if(LLVM_ENABLE_PLUGINS AND (WIN32 OR CYGWIN))
set(LLVM_LINK_COMPONENTS
Support
)
clang_target_link_libraries(AnnotateFunctions PRIVATE
clangAST
clangBasic
clangFrontend
clangLex
)
endif()