forked from OSchip/llvm-project
35 lines
567 B
CMake
35 lines
567 B
CMake
set(LLVM_USED_LIBS
|
|
clangFrontend
|
|
clangSerialization
|
|
clangDriver
|
|
clangCodeGen
|
|
clangSema
|
|
clangStaticAnalyzerFrontend
|
|
clangStaticAnalyzerCheckers
|
|
clangStaticAnalyzerCore
|
|
clangIndex
|
|
clangAnalysis
|
|
clangRewrite
|
|
clangAST
|
|
clangParse
|
|
clangLex
|
|
clangBasic
|
|
)
|
|
|
|
set(LLVM_LINK_COMPONENTS
|
|
jit
|
|
interpreter
|
|
nativecodegen
|
|
asmparser
|
|
bitreader
|
|
bitwriter
|
|
codegen
|
|
ipo
|
|
selectiondag
|
|
)
|
|
|
|
add_clang_executable(clang-interpreter
|
|
main.cpp
|
|
)
|
|
add_dependencies(clang-interpreter clang-headers)
|