Debian Codegraph @

clang/lib/Testing/CMakeLists.txt

raw
1 # Don't include this target in LLVMExports. FIXME: is there a cleaner way?
2 set(EXCLUDE_FROM_ALL ON)
3
4 # Not add_clang_library: this is not part of clang's public library interface.
5 # Unit tests should depend on this with target_link_libraries(), rather
6 # than with clang_target_link_libraries().
7 add_llvm_library(clangTesting
8 CommandLineArgs.cpp
9 TestAST.cpp
10
11 BUILDTREE_ONLY
12
13 LINK_COMPONENTS
14 MC
15 Support
16 TargetParser
17 )
18
19 clang_target_link_libraries(clangTesting
20 PRIVATE
21 clangAST
22 clangBasic
23 clangFrontend
24 clangLex
25 clangSerialization
26 )
27
28 target_link_libraries(clangTesting
29 PRIVATE
30 llvm_gtest
31 )