jnulzl / live555_with_cmake

live555 add cmake build supported

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

live555 CMake Build Supported

Based on live555 version 2024.6.26

Build

  • 1、Add your computer arch's openssl in thirdparty directory if -DWITH_OPENSSL=ON

  • 2、CMake build

>> mkdir build && cd build
## For static libs
>> cmake ../ -DBUILD_SHARED_LIBS=OFF -DWITH_OPENSSL=ON -DLINUX_ARCH=aarch64 -DCMAKE_CXX_COMPILER=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/bin/aarch64-linux-gnu-g++-8.3.0 -DCMAKE_C_COMPILER=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc-8.3.0 # -DCMAKE_CXX_STANDARD=17

## For shared libs
>> cmake ../ -DBUILD_SHARED_LIBS=ON -DWITH_OPENSSL=ON -DLINUX_ARCH=aarch64 -DCMAKE_CXX_COMPILER=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/bin/aarch64-linux-gnu-g++-8.3.0 -DCMAKE_C_COMPILER=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc-8.3.0 # -DCMAKE_CXX_STANDARD=17

Output libs and exe at bin/${LINUX_ARCH} directory

For documentation and instructions for building this software,

About

live555 add cmake build supported

License:GNU Lesser General Public License v3.0


Languages

Language:C++ 96.4%Language:Makefile 2.2%Language:C 1.0%Language:CMake 0.3%Language:Shell 0.0%Language:Batchfile 0.0%Language:Tcl 0.0%