Debian Codegraph @

clang/unittests/Interpreter/ExceptionTests/CMakeLists.txt

raw
1 # The interpreter can throw an exception from user input. The test binary needs
2 # to be compiled with exception support to catch the thrown exception.
3 set(LLVM_REQUIRES_EH ON)
4 set(LLVM_REQUIRES_RTTI ON)
5
6 add_distinct_clang_unittest(ClangReplInterpreterExceptionTests
7 InterpreterExceptionTest.cpp
8 EXPORT_SYMBOLS
9
10 CLANG_LIBS
11 clangAST
12 clangBasic
13 clangInterpreter
14 clangFrontend
15
16 LLVM_COMPONENTS
17 ${LLVM_TARGETS_TO_BUILD}
18 Core
19 OrcJIT
20 Support
21 )
22
23 llvm_update_compile_flags(ClangReplInterpreterExceptionTests)
24 add_dependencies(ClangReplInterpreterExceptionTests clang-resource-headers)