coriolis/bootstrap/easyChams/compile.sh

14 lines
258 B
Bash
Raw Normal View History

2010-01-29 07:07:27 -06:00
#!/bin/bash
if [ ! -e "./compile.sh" ]; then
echo "You must run compile.sh in its own direcotry : ./compile.sh"
exit 1
fi
if [ ! -d "build" ]; then
echo "Creating build directory"
mkdir build
fi
cd build && cmake .. && make DESTDIR=.. -j2 install