Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 3698

Show
Ignore:
Timestamp:
07/02/08 15:10:50 (2 months ago)
Author:
larsivi
Message:

Some more options for hte build script.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/build-tango.sh

    r3541 r3698  
    1919Options: 
    2020  --help: Will print this help text 
     21  --noinline: Will turn off inlining 
     22  --norelease: Drops optimzations 
     23  --debug: Will enable debug info 
    2124  --warn: Will enable warnings 
    2225  --verbose: Increase verbosity  
     
    3235UNAME=`uname` 
    3336INLINE="-inline" 
     37DEBUG="" 
     38RELEASE="-release -O" 
    3439WARN="" 
    3540VERBOSE=0 
     
    101106    then 
    102107        if [ $VERBOSE == 1 ]; then echo "[$DC] $FILENAME"; fi 
    103         $DC $WARN -c $INLINE -release -O -version=Posix -version=Tango -of$OBJNAME $FILENAME 
     108        $DC $WARN -c $INLINE $DEBUG $RELEASE -version=Posix -version=Tango -of$OBJNAME $FILENAME 
    104109        if [ "$?" != 0 ] 
    105110        then 
     
    167172            WARN="-w" 
    168173            ;; 
     174        --debug) 
     175            DEBUG="-g -debug" 
     176            ;; 
     177        --norelease) 
     178            RELEASE="" 
     179            ;; 
     180        --noinline) 
     181            INLINE="" 
     182            ;; 
    169183        --verbose)  
    170184            VERBOSE=1