bolt/deps/llvm-18.1.8/clang/unittests/Interpreter/CMakeLists.txt

28 lines
515 B
Text
Raw Normal View History

2025-02-14 19:21:04 +01:00
set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
Core
OrcJIT
Support
TargetParser
)
add_clang_unittest(ClangReplInterpreterTests
IncrementalProcessingTest.cpp
InterpreterTest.cpp
CodeCompletionTest.cpp
)
target_link_libraries(ClangReplInterpreterTests PUBLIC
clangAST
clangBasic
clangInterpreter
clangFrontend
clangSema
)
# Exceptions on Windows are not yet supported.
if(NOT WIN32)
add_subdirectory(ExceptionTests)
endif()
export_executable_symbols(ClangReplInterpreterTests)