1 set(LLVM_LINK_COMPONENTS 2 Core 3 ExecutionEngine 4 MC 5 MCJIT 6 Support 7 native 8 ) 9 10 add_clang_executable(clang-interpreter 11 main.cpp 12 ) 13 14 add_dependencies(clang-interpreter 15 clang-headers 16 ) 17 18 target_link_libraries(clang-interpreter 19 clangBasic 20 clangCodeGen 21 clangDriver 22 clangFrontend 23 ) 24