llvm-project/clang/unittests/Interpreter/CMakeLists.txt
raw| 1 | set(LLVM_LINK_COMPONENTS |
| 2 | ${LLVM_TARGETS_TO_BUILD} |
| 3 | Core |
| 4 | OrcJIT |
| 5 | Support |
| 6 | TargetParser |
| 7 | ) |
| 8 | |
| 9 | add_clang_unittest(ClangReplInterpreterTests |
| 10 | IncrementalProcessingTest.cpp |
| 11 | InterpreterTest.cpp |
| 12 | ) |
| 13 | target_link_libraries(ClangReplInterpreterTests PUBLIC |
| 14 | clangAST |
| 15 | clangBasic |
| 16 | clangInterpreter |
| 17 | clangFrontend |
| 18 | clangSema |
| 19 | ) |
| 20 | |
| 21 | # Exceptions on Windows are not yet supported. |
| 22 | if(NOT WIN32) |
| 23 | add_subdirectory(ExceptionTests) |
| 24 | endif() |