llvm-project/clang/tools/clang-repl/CMakeLists.txt

25 lines
371 B
CMake

set( LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
Core
LineEditor
Option
OrcJIT
Support
)
add_clang_tool(clang-repl
ClangRepl.cpp
)
clang_target_link_libraries(clang-repl PUBLIC
clangBasic
clangFrontend
clangInterpreter
clangTooling
)
# Support plugins.
if(CLANG_PLUGIN_SUPPORT)
export_executable_symbols_for_plugins(clang-repl)
endif()