Bump version to 19.1.0git
[llvm-project.git] / clang-tools-extra / unittests / clang-change-namespace / CMakeLists.txt
blobd2bc95d78023201cfa79a359ae444588e258e4d1
1 set(LLVM_LINK_COMPONENTS
2   FrontendOpenMP
3   Support
4   )
6 get_filename_component(CHANGE_NAMESPACE_SOURCE_DIR
7   ${CMAKE_CURRENT_SOURCE_DIR}/../../clang-change-namespace REALPATH)
8 include_directories(
9   ${CHANGE_NAMESPACE_SOURCE_DIR}
10   )
12 # We'd like clang/unittests/Tooling/RewriterTestContext.h in the test.
13 include_directories(${CLANG_SOURCE_DIR})
15 add_extra_unittest(ClangChangeNamespaceTests
16   ChangeNamespaceTests.cpp
17   )
19 clang_target_link_libraries(ClangChangeNamespaceTests
20   PRIVATE
21   clangAST
22   clangASTMatchers
23   clangBasic
24   clangFormat
25   clangFrontend
26   clangRewrite
27   clangSerialization
28   clangTooling
29   clangToolingCore
30   )
31 target_link_libraries(ClangChangeNamespaceTests
32   PRIVATE
33   clangChangeNamespace
34   )