diff --git a/CMakeLists.txt b/CMakeLists.txt old mode 100644 new mode 100755 index bba592491b4bda575093379fc3aa171cd6283896..0eb1e89c64d4193fc864fb3944d6a413fee3c03a --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,6 +40,17 @@ execute_process( WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} ) +# build libdocument_rd.a +execute_process( + COMMAND cmake .. + WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/frameworks/libs/distributeddb/gaussdb_rd/build +) + +execute_process( + COMMAND make -j32 + WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/frameworks/libs/distributeddb/gaussdb_rd/build +) + # Download dependencies download_repo("third_party_jsoncpp" "https://gitee.com/openharmony/third_party_jsoncpp.git") download_repo("third_party_googletest" "https://gitee.com/openharmony/third_party_googletest.git")