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

25 lines
309 B
CMake

set(LLVM_LINK_COMPONENTS
Core
ExecutionEngine
MC
MCJIT
Option
Support
native
)
add_clang_executable(clang-interpreter
main.cpp
)
add_dependencies(clang-interpreter
clang-headers
)
target_link_libraries(clang-interpreter
clangBasic
clangCodeGen
clangDriver
clangFrontend
)