Skip to content

Commit

Permalink
update cmake to 3.20.1
Browse files Browse the repository at this point in the history
  • Loading branch information
wgtdkp committed Apr 25, 2024
1 parent 2b64f47 commit 2bd63ac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions android/build-commissioner-libs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ cd "${CUR_DIR}"
readonly BUILD_DIR=".build-$ANDROID_ABI"

mkdir -p "$BUILD_DIR" && cd "$BUILD_DIR"

# Sometimes the java binding will not be rebuilt even of commissioner.hpp is updated.
# This will enforce rebuilding of the java binding in case the commissioner API is changed.
# Don't need this when https://github.com/openthread/ot-commissioner/pull/262 is merged
rm -rf src/java

cmake -GNinja \
-DCMAKE_TOOLCHAIN_FILE="$ANDROID_NDK_HOME"/build/cmake/android.toolchain.cmake \
-DANDROID_ABI="$ANDROID_ABI" \
Expand Down

0 comments on commit 2bd63ac

Please sign in to comment.