From 603bac91109227929fc4641e8b543a3074552a43 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 13 Nov 2023 09:55:14 +0800 Subject: [PATCH] optimize cmakeList Signed-off-by: root --- CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) mode change 100644 => 100755 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt old mode 100644 new mode 100755 index bba592491b..0eb1e89c64 --- 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") -- Gitee