blob: 2e32f98ae236a038164538a52e81b7b1ed207254 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
if [ -d build ]; then
echo "Build dir already exists"
else
echo "Create build dir"
mkdir build
fi
cd build
cmake -DCMAKE_BUILD_TYPE=release .. && make && echo "Build was OK, now enter the 'build' dir and run 'make install' as root"
|