aboutsummaryrefslogtreecommitdiff
path: root/examples/clang-interpreter/CMakeLists.txt
blob: 0f63b5f5b91bb5c338fa42d4022d1dcec8f9ec56 (plain) (blame)
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
set(LLVM_NO_RTTI 1)

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

set(LLVM_LINK_COMPONENTS
    jit
    interpreter
    nativecodegen
    bitreader
    bitwriter
    ipo
    selectiondag
  )

add_clang_executable(clang-interpreter
  main.cpp
  )
add_dependencies(clang-interpreter clang-headers)