Skip to content

Commit

Permalink
cStandart
Browse files Browse the repository at this point in the history
  • Loading branch information
Kibnet committed Jan 31, 2025
1 parent 6e4e441 commit 1cc7b94
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions build.libgit2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,18 @@ if [[ "$RID" == *"android"* ]]; then
fi

cmake -DCMAKE_BUILD_TYPE=Release \
-DUSE_SSH=exec \
-DLIBGIT2_FILENAME=git2-$SHORTSHA \
-DUSE_HTTPS=$USEHTTPS \
-DUSE_BUNDLED_ZLIB=ON \
-DCMAKE_TOOLCHAIN_FILE="$TOOLCHAIN_FILE" \
..

-DUSE_SSH=ON \
-DBUILD_TESTS=OFF \
-DBUILD_CLI=OFF \
-DBUILD_EXAMPLES=OFF \
-DBUILD_FUZZERS=OFF \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_C_STANDARD=99 \
-DLIBGIT2_FILENAME=git2-$SHORTSHA \
-DUSE_HTTPS=$USEHTTPS \
-DUSE_BUNDLED_ZLIB=ON \
-DCMAKE_TOOLCHAIN_FILE="$TOOLCHAIN_FILE" \
..
else
# Сборка для Mac/Linux по умолчанию
if [[ $OS == "Darwin" ]]; then
Expand Down

0 comments on commit 1cc7b94

Please sign in to comment.