diff --git a/3party/bsdiff-courgette/CMakeLists.txt b/3party/bsdiff-courgette/CMakeLists.txt index e7a87804b8..1d180331d2 100644 --- a/3party/bsdiff-courgette/CMakeLists.txt +++ b/3party/bsdiff-courgette/CMakeLists.txt @@ -17,3 +17,4 @@ set( ) add_library(${PROJECT_NAME} ${SRC}) +omim_add_test_subdirectory(bsdiff/bsdiff_tests) diff --git a/3party/bsdiff-courgette/bsdiff/bsdiff_tests/CMakeLists.txt b/3party/bsdiff-courgette/bsdiff/bsdiff_tests/CMakeLists.txt new file mode 100644 index 0000000000..e798c7350b --- /dev/null +++ b/3party/bsdiff-courgette/bsdiff/bsdiff_tests/CMakeLists.txt @@ -0,0 +1,20 @@ +project(bsdiff_tests) + +set( + SRC + bsdiff_search_tests.cpp +) + +omim_add_test(${PROJECT_NAME} ${SRC}) + +omim_link_libraries( + ${PROJECT_NAME} + bsdiff + platform + coding + base + stats_client + ${LIBZ} +) + +link_qt5_core(${PROJECT_NAME}) diff --git a/generator/mwm_diff/mwm_diff_tests/bsdiff_search_tests.cpp b/3party/bsdiff-courgette/bsdiff/bsdiff_tests/bsdiff_search_tests.cpp similarity index 100% rename from generator/mwm_diff/mwm_diff_tests/bsdiff_search_tests.cpp rename to 3party/bsdiff-courgette/bsdiff/bsdiff_tests/bsdiff_search_tests.cpp diff --git a/generator/mwm_diff/mwm_diff_tests/CMakeLists.txt b/generator/mwm_diff/mwm_diff_tests/CMakeLists.txt index f6807262ee..b7dd576914 100644 --- a/generator/mwm_diff/mwm_diff_tests/CMakeLists.txt +++ b/generator/mwm_diff/mwm_diff_tests/CMakeLists.txt @@ -2,7 +2,6 @@ project(mwm_diff_tests) set( SRC - bsdiff_search_tests.cpp diff_tests.cpp )