Logo white

Hu Chunming / vpt_ascend_arm

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • vpt_ascend_arm
  • 3rdparty
  • gb28181_3rd
  • jrtp_export
  • build_jrtp.sh
  • 28181 三方库
    5792f910
    Hu Chunming authored
    2024-04-12 17:11:08 +0800  
    Browse Code »
build_jrtp.sh 381 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
#!/bin/bash
currentPath=$(pwd)

libPath=$(pwd)/../jrtplib-3.11.2


if [ -d "./jrtplib" ]; then
    rm -rf jrtplib
fi
mkdir jrtplib
cd jrtplib
installPath=$(pwd)


cd ${libPath}
if [ -d "./build" ]; then
    rm -rf build
fi
mkdir build
cd build

cmake -D CMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=${installPath} -DCMAKE_USE_OPENSSL=OFF ..
make clean
make -j
make install

cd ..