Menu

[r13166]: / branches / release-17.12 / src / batch_build_all  Maximize  Restore  History

Download this file

30 lines (26 with data), 1.0 kB

#!/bin/sh

# ------------------------------------------------
# Setup C::B application to run the *binaries* (!)
# ------------------------------------------------
export CB_APP=/home/[foo]/bin/cb
# ------------------------------------------------
# Setup folder to the C::B *sources* from SVN (!)
# ------------------------------------------------
export CB_SRC=/home/[foo]/src/codeblocks/src

# -------------------------------------------
# Usually below here no changes are required.
# -------------------------------------------
if [ -e $CB_APP ]; then
  if [ -d $CB_SRC ]; then
    export CB_PARAMS="--batch-build-notify --no-batch-window-close"
    export CB_TARGET="--target=All"
    export CB_CMD="--build $CB_SRC/CodeBlocks-unix.workspace"

    echo $CB_APP $CB_PARAMS $CB_TARGET $CB_CMD
    $CB_APP $CB_PARAMS $CB_TARGET $CB_CMD
    echo "Do not forget to run 'update' after successful build!"
  else
    echo "C::B sources at '$CB_SRC' not found."
  fi
else
  echo "File '$CB_APP' does not exists."
fi
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.