[ELF] Reorder SectionBase/InputSectionBase members
[llvm-project.git] / clang-tools-extra / unittests / clang-move / CMakeLists.txt
blobde738d2c0d4c2a046e1c42ce500d925429d51f68
1 set(LLVM_LINK_COMPONENTS
2   FrontendOpenMP
3   Support
4   )
6 get_filename_component(INCLUDE_FIXER_SOURCE_DIR
7   ${CMAKE_CURRENT_SOURCE_DIR}/../../clang-move REALPATH)
8 include_directories(
9   ${INCLUDE_FIXER_SOURCE_DIR}
10   )
12 # We'd like to clang/unittests/Tooling/RewriterTestContext.h in the test.
13 include_directories(${CLANG_SOURCE_DIR})
15 add_extra_unittest(ClangMoveTests
16   ClangMoveTests.cpp
17   )
19 clang_target_link_libraries(ClangMoveTests
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(ClangMoveTests
32   PRIVATE
33   clangMove
34   )