llvm-project/clang/examples/clang-interpreter/CMakeLists.txt

40 lines
578 B
CMake
Raw Normal View History

set(LLVM_LINK_COMPONENTS
jit
interpreter
nativecodegen
asmparser
bitreader
bitwriter
irreader
codegen
ipo
linker
selectiondag
)
add_clang_executable(clang-interpreter
main.cpp
)
add_dependencies(clang-interpreter
clang-headers
)
target_link_libraries(clang-interpreter
clangFrontend
clangSerialization
clangDriver
clangCodeGen
clangSema
clangStaticAnalyzerFrontend
clangStaticAnalyzerCheckers
clangStaticAnalyzerCore
clangAnalysis
clangRewriteCore
clangRewriteFrontend
clangAST
clangParse
clangLex
clangBasic
)