File: build-debug.sh

package info (click to toggle)
bibletime 2.9.1-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 27,264 kB
  • sloc: cpp: 31,197; xml: 138; sh: 49; makefile: 8
file content (18 lines) | stat: -rwxr-xr-x 543 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# This little script creates a build/ directory, enters it
# and builds BibleTime there.
#
# BibleTime will be installed to build/install and can be run
# just from there: ./build/install/bin/bibletime. It will find all
# required files.

if [ ! -d build ]; then mkdir build; fi
cd build
cmake -D CMAKE_BUILD_TYPE=Debug -D CMAKE_INSTALL_PREFIX="install/" ..  || exit 1
make clean
make -j4 install || exit 1
cd ..

echo
echo "BibleTime has been installed to ./build/install."
echo "You can run it by typing ./build/install/bin/bibletime."
echo