forked from OSchip/llvm-project
21 lines
541 B
CMake
21 lines
541 B
CMake
get_filename_component(ClangApplyReplacementsLocation
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/../../clang-apply-replacements/include" REALPATH)
|
|
get_filename_component(CommonIncLocation
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/../include" REALPATH)
|
|
include_directories(
|
|
${ClangApplyReplacementsLocation}
|
|
${CommonIncLocation}
|
|
)
|
|
|
|
add_extra_unittest(ClangApplyReplacementsTests
|
|
ApplyReplacementsTest.cpp
|
|
)
|
|
|
|
target_link_libraries(ClangApplyReplacementsTests
|
|
PRIVATE
|
|
clangApplyReplacements
|
|
clangBasic
|
|
clangToolingCore
|
|
clangToolingRefactoring
|
|
)
|