diff --git a/thirdparty/diff-match-patch-cpp-stl/README_zh.md b/thirdparty/diff-match-patch-cpp-stl/README_zh.md index acfad19e261f922e839dcb07bd28ffbaa282abed..68dce6de17ee65bf796a6ea51258c2623ff52764 100644 --- a/thirdparty/diff-match-patch-cpp-stl/README_zh.md +++ b/thirdparty/diff-match-patch-cpp-stl/README_zh.md @@ -9,4 +9,4 @@ C++ STL variant of https://code.google.com/p/google-diff-match-patch. - [Apache License 2.0](https://github.com/leutloff/diff-match-patch-cpp-stl/blob/master/LICENSE) ## 集成方式 -+ [编译说明](docs/hap_integrate.md) ++ [应用hap包集成](docs/hap_integrate.md) diff --git a/thirdparty/diff-match-patch-cpp-stl/docs/hap_integrate.md b/thirdparty/diff-match-patch-cpp-stl/docs/hap_integrate.md index 3d3368e2c77c3d42986460adbfa8ce57f16879d0..3604172cbbfc2c45dbe71bd83a68c2278b43592a 100644 --- a/thirdparty/diff-match-patch-cpp-stl/docs/hap_integrate.md +++ b/thirdparty/diff-match-patch-cpp-stl/docs/hap_integrate.md @@ -1,4 +1,4 @@ -# diff-match-patch-cpp-stl编译说明 +# diff-match-patch-cpp-stl集成到应用hap 本库是在RK3568开发板上基于OpenHarmony3.2 Release版本的镜像验证的,如果是从未使用过RK3568,可以先查看[润和RK3568开发板标准系统快速上手](https://gitee.com/openharmony-sig/knowledge_demo_temp/tree/master/docs/rk3568_helloworld)。 ## 开发环境 - ubuntu20.04 @@ -33,6 +33,13 @@ cd tools ./build.sh diff-match-patch-cpp-stl ``` +- [测试三方库](#测试三方库) + +## 应用中使用三方库 + +- 在IDE的cpp目录下新增thirdparty目录,因该原库未生成库文件,需要将源文件(diff_match_patch.h)拷贝到该目录下,进行源码方式引入,如下图所示 + + ![diff_install](pic/diff_install.png) ## 测试三方库 三方库的测试使用原库自带的测试用例来做测试,[准备三方库测试环境](../../../tools/README.md#ci环境准备) diff --git a/thirdparty/diff-match-patch-cpp-stl/docs/pic/diff_install.png b/thirdparty/diff-match-patch-cpp-stl/docs/pic/diff_install.png new file mode 100644 index 0000000000000000000000000000000000000000..a507ac4617b5f94409a81fd90a0e4cf4cc5e37a9 Binary files /dev/null and b/thirdparty/diff-match-patch-cpp-stl/docs/pic/diff_install.png differ