1 | set(LLVM_LINK_COMPONENTS |
---|---|
2 | Core |
3 | Support |
4 | ) |
5 | |
6 | if(NOT CLANG_BUILT_STANDALONE) |
7 | set(tablegen_deps intrinsics_gen) |
8 | endif() |
9 | |
10 | add_clang_tool(clang-import-test |
11 | clang-import-test.cpp |
12 | DEPENDS |
13 | ${tablegen_deps} |
14 | ) |
15 | |
16 | set(CLANG_IMPORT_TEST_LIB_DEPS |
17 | clangAST |
18 | clangBasic |
19 | clangCodeGen |
20 | clangDriver |
21 | clangFrontend |
22 | clangLex |
23 | clangParse |
24 | clangSerialization |
25 | ) |
26 | |
27 | target_link_libraries(clang-import-test |
28 | PRIVATE |
29 | ${CLANG_IMPORT_TEST_LIB_DEPS} |
30 | ) |
31 |