1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
296 B

#!/bin/bash
if [ ! -d "build/release" ]; then
mkdir -p "build/release"
else
echo "clean"
# rm build/* -r
fi
cd build
cmake -DCMAKE_INSTALL_PREFIX=./release -DISP_HW_VERSION=${ISP_HW_VERSION} ../
make -j4
make install
if [ $? -eq 0 ]; then
echo Build finished!
cd ..
fi