#!/bin/bash mkdir build && cd build cmake -DCMAKE_BUILD_TYPE=Release .. make -j8 && make install echo "安装成功,在当前 output/lib 下"