Unverified Commit 967439d0 authored by ntonnaett's avatar ntonnaett Committed by GitHub
Browse files

Merge pull request #76 from dyfer/move-builds-to-subdirectory

build in a subdirectory
parents 82771a67 cb85a332
# QtCreator user files
*.pro.user
*.pro.user.*
# build directory
builddir/
......@@ -103,7 +103,7 @@ $ qmake -config nojack jacktrip.pro
$ make release
If you want to install (using Terminal): on the /src directory type:
If you want to install (using Terminal): on the /builddir directory type:
$ sudo cp jacktrip /usr/local/bin/
(enter your password when prompted)
......
......@@ -28,15 +28,17 @@ elif [[ $platform == 'macosx' ]]; then
fi
# Build
mkdir -p ../builddir
cd ../builddir
if [[ $1 == 'nojack' ]]; then
echo "Building without Jack"
$QCMD -spec $QSPEC -config nojack jacktrip.pro
$QCMD -spec $QSPEC -config nojack ../src/jacktrip.pro
make clean
$QCMD -spec $QSPEC -config nojack jacktrip.pro
$QCMD -spec $QSPEC -config nojack ../src/jacktrip.pro
make release
else
$QCMD -spec $QSPEC jacktrip.pro
$QCMD -spec $QSPEC ../src/jacktrip.pro
make clean
$QCMD -spec $QSPEC jacktrip.pro
$QCMD -spec $QSPEC ../src/jacktrip.pro
make release
fi
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment