2010-09-14 07:54:41 +08:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
2012-06-21 09:30:21 +08:00
|
|
|
jit
|
|
|
|
interpreter
|
|
|
|
nativecodegen
|
|
|
|
asmparser
|
|
|
|
bitreader
|
|
|
|
bitwriter
|
2013-03-26 10:25:54 +08:00
|
|
|
irreader
|
2012-06-21 09:30:21 +08:00
|
|
|
codegen
|
|
|
|
ipo
|
|
|
|
linker
|
|
|
|
selectiondag
|
2010-09-11 05:13:16 +08:00
|
|
|
)
|
|
|
|
|
2010-09-14 07:54:41 +08:00
|
|
|
add_clang_executable(clang-interpreter
|
|
|
|
main.cpp
|
|
|
|
)
|
2012-06-21 09:30:21 +08:00
|
|
|
|
|
|
|
add_dependencies(clang-interpreter
|
|
|
|
clang-headers
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(clang-interpreter
|
|
|
|
clangFrontend
|
|
|
|
clangSerialization
|
|
|
|
clangDriver
|
|
|
|
clangCodeGen
|
|
|
|
clangSema
|
|
|
|
clangStaticAnalyzerFrontend
|
|
|
|
clangStaticAnalyzerCheckers
|
|
|
|
clangStaticAnalyzerCore
|
|
|
|
clangAnalysis
|
2012-09-01 13:09:24 +08:00
|
|
|
clangRewriteCore
|
|
|
|
clangRewriteFrontend
|
2012-06-21 09:30:21 +08:00
|
|
|
clangAST
|
|
|
|
clangParse
|
|
|
|
clangLex
|
|
|
|
clangBasic
|
|
|
|
)
|