2010-09-14 07:54:41 +08:00
|
|
|
set(LLVM_USED_LIBS
|
|
|
|
clangFrontend
|
|
|
|
clangSerialization
|
|
|
|
clangDriver
|
|
|
|
clangCodeGen
|
|
|
|
clangSema
|
2011-02-15 02:13:01 +08:00
|
|
|
clangStaticAnalyzerFrontend
|
2010-12-24 03:38:26 +08:00
|
|
|
clangStaticAnalyzerCheckers
|
|
|
|
clangStaticAnalyzerCore
|
2010-09-14 07:54:41 +08:00
|
|
|
clangIndex
|
|
|
|
clangAnalysis
|
|
|
|
clangRewrite
|
|
|
|
clangAST
|
|
|
|
clangParse
|
|
|
|
clangLex
|
|
|
|
clangBasic
|
|
|
|
)
|
2010-09-11 05:13:16 +08:00
|
|
|
|
2010-09-14 07:54:41 +08:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
|
|
|
jit
|
|
|
|
interpreter
|
|
|
|
nativecodegen
|
|
|
|
asmparser
|
|
|
|
bitreader
|
|
|
|
bitwriter
|
|
|
|
codegen
|
|
|
|
ipo
|
|
|
|
selectiondag
|
2010-09-11 05:13:16 +08:00
|
|
|
)
|
|
|
|
|
2010-09-14 07:54:41 +08:00
|
|
|
add_clang_executable(clang-interpreter
|
|
|
|
main.cpp
|
|
|
|
)
|
2010-02-27 15:46:49 +08:00
|
|
|
add_dependencies(clang-interpreter clang-headers)
|