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

23 lines
300 B
CMake

set(LLVM_LINK_COMPONENTS
Core
ExecutionEngine
JIT
Support
nativecodegen
)
add_clang_executable(clang-interpreter
main.cpp
)
add_dependencies(clang-interpreter
clang-headers
)
target_link_libraries(clang-interpreter
clangBasic
clangCodeGen
clangDriver
clangFrontend
)