view build-debug.sh @ 104:5c8c1c2e12c0

Change from real to double. double is not dependant on the platform, and it uses less space.
author Jordan Miner <jminer7@gmail.com>
date Fri, 06 Jul 2012 18:39:45 -0500
parents 592f7aa40bf1
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