aboutsummaryrefslogtreecommitdiff
path: root/clang/examples/AnnotateFunctions/CMakeLists.txt
blob: e6541f7cc62a62daf7dba09454282d23ddd90a31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
add_llvm_library(AnnotateFunctions MODULE AnnotateFunctions.cpp PLUGIN_TOOL clang)

if(CLANG_PLUGIN_SUPPORT AND (WIN32 OR CYGWIN))
  set(LLVM_LINK_COMPONENTS
    Support
  )
  clang_target_link_libraries(AnnotateFunctions PRIVATE
    clangAST
    clangBasic
    clangFrontend
    clangLex
    )
endif()