2010-09-14 07:54:41 +08:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
2013-12-10 20:40:37 +08:00
|
|
|
Core
|
|
|
|
ExecutionEngine
|
2014-07-25 01:38:18 +08:00
|
|
|
MC
|
2014-07-25 01:13:09 +08:00
|
|
|
MCJIT
|
2013-12-10 20:40:37 +08:00
|
|
|
Support
|
2014-07-01 11:19:50 +08:00
|
|
|
native
|
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
|
|
|
|
clangBasic
|
2013-12-10 20:40:37 +08:00
|
|
|
clangCodeGen
|
|
|
|
clangDriver
|
|
|
|
clangFrontend
|
2012-06-21 09:30:21 +08:00
|
|
|
)
|