blob: ba6a350cd95403ce5ced275ef89bb82bfaf25a93 [file] [log] [blame]
Douglas Gregoreb5dc492010-06-08 19:23:49 +00001set(MODULE TRUE)
Daniel Dunbar9a693872009-11-15 00:27:43 +00002
Peter Collingbourne4b93d662011-02-19 23:03:58 +00003set( LLVM_LINK_COMPONENTS support mc)
Michael J. Spencerf5ddcc02010-09-14 06:39:35 +00004
Michael J. Spencer560a9212010-09-13 23:54:41 +00005add_clang_library(PrintFunctionNames PrintFunctionNames.cpp)
Daniel Dunbar9a693872009-11-15 00:27:43 +00006
NAKAMURA Takumi3eb37552012-07-27 06:17:56 +00007add_dependencies(PrintFunctionNames
8 ClangAttrClasses
9 ClangAttrList
10 ClangCommentNodes
11 ClangDeclNodes
12 ClangDiagnosticCommon
13 ClangStmtNodes
14 )
15
Chandler Carruthb0d86712012-06-21 01:30:21 +000016target_link_libraries(PrintFunctionNames
Douglas Gregorbf85d9d2012-12-20 23:36:52 +000017 clangFrontend
Chandler Carruthb0d86712012-06-21 01:30:21 +000018 clangAST
19 )
20
Daniel Dunbar9a693872009-11-15 00:27:43 +000021set_target_properties(PrintFunctionNames
22 PROPERTIES
Douglas Gregoreb5dc492010-06-08 19:23:49 +000023 LINKER_LANGUAGE CXX
24 PREFIX "")