flatten 20260225

This commit is contained in:
Timothy Prepscius
2026-02-25 13:00:25 -05:00
commit b308a4c280
114 changed files with 14759 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
set -x
mkdir -p sdk/include
LIB=msquic
SRC=msquic
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
mkdir $LIB
pushd $LIB
git clone --depth 1 --branch v2.2.4 https://github.com/microsoft/msquic.git
#git clone --depth 1 --branch v2.2.2 https://github.com/microsoft/msquic.git
#git clone --depth 1 https://github.com/microsoft/msquic.git
#git clone --depth 1 --branch v2.1.7 https://github.com/microsoft/msquic.git
# pushd msquic
# git submodule update --init --recursive
# mkdir build
# pushd build
# cmake ..
# make
# popd
# popd
ln -s $DIR/Makefile.project $SRC/Makefile.project
#cp -av $DIR/Makefile.* $SRC
$DIR/../../prepare-template-just-makefile $SRC $DIR
pushd $SRC
if [[ $SYS_NAME == 'Android' ]]; then
git apply $DIR/android-datapath_epoll.c.diff
fi
make
popd
popd
pushd sdk/include
ln -s ../../$LIB/$SRC/src/inc msquic
popd