llvm-project/clang/tools/clang-repl/CMakeLists.txt
raw| 1 | set( LLVM_LINK_COMPONENTS |
| 2 | ${LLVM_TARGETS_TO_BUILD} |
| 3 | Core |
| 4 | LineEditor |
| 5 | Option |
| 6 | OrcJIT |
| 7 | Support |
| 8 | ) |
| 9 | |
| 10 | add_clang_tool(clang-repl |
| 11 | ClangRepl.cpp |
| 12 | ) |
| 13 | |
| 14 | clang_target_link_libraries(clang-repl PRIVATE |
| 15 | clangBasic |
| 16 | clangFrontend |
| 17 | clangInterpreter |
| 18 | clangTooling |
| 19 | ) |
| 20 | |
| 21 | # Support plugins. |
| 22 | if(CLANG_PLUGIN_SUPPORT) |
| 23 | export_executable_symbols_for_plugins(clang-repl) |
| 24 | endif() |