You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
611 B

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
)
clang_target_link_libraries(ClangApplyReplacementsTests
PRIVATE
clangBasic
clangToolingCore
clangToolingRefactoring
)
target_link_libraries(ClangApplyReplacementsTests
PRIVATE
clangApplyReplacements
)