summaryrefslogtreecommitdiffstats
path: root/clang/examples/PrintFunctionNames
diff options
context:
space:
mode:
Diffstat (limited to 'clang/examples/PrintFunctionNames')
-rw-r--r--clang/examples/PrintFunctionNames/CMakeLists.txt25
1 files changed, 1 insertions, 24 deletions
diff --git a/clang/examples/PrintFunctionNames/CMakeLists.txt b/clang/examples/PrintFunctionNames/CMakeLists.txt
index 58b4603e9b6..86793ce7e18 100644
--- a/clang/examples/PrintFunctionNames/CMakeLists.txt
+++ b/clang/examples/PrintFunctionNames/CMakeLists.txt
@@ -1,34 +1,11 @@
set(MODULE TRUE)
set( LLVM_USED_LIBS
- clangFrontendTool
clangFrontend
- clangDriver
- clangSerialization
- clangCodeGen
- clangParse
- clangSema
- clangStaticAnalyzerFrontend
- clangStaticAnalyzerCheckers
- clangStaticAnalyzerCore
- clangAnalysis
- clangIndex
- clangRewrite
clangAST
- clangLex
- clangBasic
)
-# Why do we have to link to all this just to print out function names?
-set( LLVM_LINK_COMPONENTS
- ${LLVM_TARGETS_TO_BUILD}
- asmparser
- bitreader
- bitwriter
- codegen
- ipo
- selectiondag
- )
+set( LLVM_LINK_COMPONENTS support mc)
add_clang_library(PrintFunctionNames PrintFunctionNames.cpp)
OpenPOWER on IntegriCloud