comparison scripts/build_project.sh @ 464:8fcfbfb32aa0 prerelease

Examples reorder with subdirectories. Added header to each project. Moved Doxygen to bottom of render.cpp.
author Robert Jack <robert.h.jack@gmail.com>
date Mon, 20 Jun 2016 16:20:38 +0100
parents d9a4fc5357e7
children 67c45feec3c3
comparison
equal deleted inserted replaced
463:c47709e8b5c9 464:8fcfbfb32aa0
3 # This script compiles a Bela project on the BeagleBone Black and 3 # This script compiles a Bela project on the BeagleBone Black and
4 # optionally runs it. Pass a directory path in the first argument. 4 # optionally runs it. Pass a directory path in the first argument.
5 # The source files in this directory are copied to the board and compiled. 5 # The source files in this directory are copied to the board and compiled.
6 6
7 # set defaults unless variables are already set 7 # set defaults unless variables are already set
8 <<<<<<< mine
9 [ -z "$BBB_ADDRESS" ] && BBB_ADDRESS="root@192.168.7.2"
10 [ -z "$BBB_BELA_HOME" ] && BBB_BELA_HOME="~/Bela/"
11 [ -z "$BBB_SCREEN_NAME" ] && BBB_SCREEN_NAME="Bela"
12 [ -z "$RUN_PROJECT" ] && RUN_PROJECT=1
13 [ -z "$COMMAND_ARGS" ] && COMMAND_ARGS=
14 [ -z "$RUN_IN_FOREGROUND" ] && RUN_IN_FOREGROUND=1
15 [ -z "$RUN_WITHOUT_SCREEN" ] && RUN_WITHOUT_SCREEN=0
16 [ -z "$BBB_PROJECT_HOME" ] && BBB_PROJECT_HOME="${BBB_BELA_HOME}/projects/"
17 [ -z "$BBB_DEFAULT_PROJECT_NAME" ] && BBB_DEFAULT_PROJECT_NAME="scriptUploadedProject"
18 [ -z "$BBB_PROJECT_NAME" ] && BBB_PROJECT_NAME=$BBB_DEFAULT_PROJECT_NAME
19 =======
20 >>>>>>> theirs
8 21
9 SCRIPTDIR=$(dirname "$0") 22 SCRIPTDIR=$(dirname "$0")
10 [ -z $SCRIPTDIR ] && SCRIPTDIR="./" || SCRIPTDIR=$SCRIPTDIR/ 23 [ -z $SCRIPTDIR ] && SCRIPTDIR="./" || SCRIPTDIR=$SCRIPTDIR/
11 . $SCRIPTDIR.bela_common || { echo "You must be in Bela/scripts to run these scripts" | exit 1; } 24 . $SCRIPTDIR.bela_common || { echo "You must be in Bela/scripts to run these scripts" | exit 1; }
12 25