aboutsummaryrefslogtreecommitdiff
path: root/tools/clang-cc/CMakeLists.txt
blob: 4ebebb74f5af2d835d4f6db74827421253686618 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
set(LLVM_NO_RTTI 1)

set( LLVM_USED_LIBS
  clangCodeGen
  clangAnalysis
  clangRewrite
  clangSema
  clangFrontend
  clangAST
  clangParse
  clangLex
  clangBasic
  )

set( LLVM_LINK_COMPONENTS
  ${LLVM_TARGETS_TO_BUILD}
  bitreader
  bitwriter
  codegen
  ipo
  selectiondag
  )

add_clang_executable(clang-cc
  AnalysisConsumer.cpp
  ASTConsumers.cpp
  Backend.cpp
  CacheTokens.cpp
  clang-cc.cpp
  DependencyFile.cpp
  DiagChecker.cpp
  GeneratePCH.cpp
  HTMLPrint.cpp
  PrintParserCallbacks.cpp
  PrintPreprocessedOutput.cpp
  RewriteBlocks.cpp
  RewriteMacros.cpp
  RewriteObjC.cpp
  RewriteTest.cpp
  Warnings.cpp
  )