musikcube/script/archive-rpi.sh
2022-02-15 16:16:37 -08:00

10 lines
256 B
Bash
Executable File

#!/bin/sh
SCRIPT_DIR=`dirname "$0"`
rm -rf bin
${SCRIPT_DIR}/clean-nix.sh
cmake -DENABLE_PCH=true -DGENERATE_DEB=true -DDEB_ARCHITECTURE=armhf -DDEB_PLATFORM=rpi -DDEB_DISTRO=buster -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
make -j4
cpack