view build-debug.sh @ 95:592f7aa40bf1

Add build scripts.
author Jordan Miner <jminer7@gmail.com>
date Tue, 01 May 2012 21:53:58 -0500
parents
children
line wrap: on
line source

#!/bin/bash

source ./build-paths.sh

ARGS="-DCPATH$DMD_DIR/bin -T$OUT_FILE -full -clean -op"
MODE_ARGS="-debug -g -unittest"

echo $BUD_DIR/bud $MAIN_FILE $ARGS $MODE_ARGS

$BUD_DIR/bud $MAIN_FILE $ARGS $MODE_ARGS

# have to call bud twice...
# the first time to compile, using the -op switch
# the second time to build docs, without the -op switch

echo $BUD_DIR/bud $MAIN_FILE -obj -o- -D -Dd$PWD/docs

$BUD_DIR/bud $MAIN_FILE -obj -o- -D -Dd$PWD/docs