Edwin Vane | 59d93af | 2013-09-30 13:59:21 +0000 | [diff] [blame] | 1 | get_filename_component(ClangApplyReplacementsLocation |
| 2 | "${CMAKE_CURRENT_SOURCE_DIR}/../../clang-apply-replacements/include" REALPATH) |
| 3 | get_filename_component(CommonIncLocation |
| 4 | "${CMAKE_CURRENT_SOURCE_DIR}/../include" REALPATH) |
| 5 | include_directories( |
| 6 | ${ClangApplyReplacementsLocation} |
| 7 | ${CommonIncLocation} |
| 8 | ) |
| 9 | |
| 10 | add_extra_unittest(ClangApplyReplacementsTests |
| 11 | ReformattingTest.cpp |
| 12 | ) |
| 13 | |
| 14 | target_link_libraries(ClangApplyReplacementsTests |
| 15 | clangApplyReplacements |
NAKAMURA Takumi | dc872ed | 2014-10-30 00:44:01 +0000 | [diff] [blame] | 16 | clangToolingCore |
Edwin Vane | 59d93af | 2013-09-30 13:59:21 +0000 | [diff] [blame] | 17 | ) |