summaryrefslogtreecommitdiff
path: root/examples/PrintFunctionNames/CMakeLists.txt
blob: 492b580c0ea6c344d4614e4f695c16ba7c92b493 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
set(MODULE TRUE)

set( LLVM_LINK_COMPONENTS
  Support
  )

add_clang_library(PrintFunctionNames PrintFunctionNames.cpp)

add_dependencies(PrintFunctionNames
  ClangAttrClasses
  ClangAttrList
  ClangCommentNodes
  ClangDeclNodes
  ClangDiagnosticCommon
  ClangStmtNodes
  )

target_link_libraries(PrintFunctionNames
  clangAST
  clangBasic
  clangFrontend
  )

set_target_properties(PrintFunctionNames
  PROPERTIES
  LINKER_LANGUAGE CXX
  PREFIX "")