forked from OSchip/llvm-project
29 lines
552 B
CMake
29 lines
552 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
support
|
|
)
|
|
|
|
get_filename_component(INCLUDE_FIXER_SOURCE_DIR
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../../clang-move REALPATH)
|
|
include_directories(
|
|
${INCLUDE_FIXER_SOURCE_DIR}
|
|
)
|
|
|
|
# We'd like to clang/unittests/Tooling/RewriterTestContext.h in the test.
|
|
include_directories(${CLANG_SOURCE_DIR})
|
|
|
|
add_extra_unittest(ClangMoveTests
|
|
ClangMoveTests.cpp
|
|
)
|
|
|
|
target_link_libraries(ClangMoveTests
|
|
clangAST
|
|
clangASTMatchers
|
|
clangBasic
|
|
clangFormat
|
|
clangFrontend
|
|
clangMove
|
|
clangRewrite
|
|
clangTooling
|
|
clangToolingCore
|
|
)
|