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

Changeset 3496

Show
Ignore:
Timestamp:
05/10/08 04:31:32 (5 months ago)
Author:
larsivi
Message:

Give build-tango a verbosity switch, thanks afb, closes #1096

Files:

Legend:

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

    r3457 r3496  
    2020  --help: Will print this help text 
    2121  --warn: Will enable warnings 
     22  --verbose: Increase verbosity  
    2223  <identifier> is one of {dmd, gdc, mac} and will build libtango.a, 
    2324                libgtango.a or universal Mac binaries respectively 
     
    3233INLINE="-inline" 
    3334WARN="" 
     35VERBOSE=0 
    3436 
    3537# Compiler specific includes 
     
    98100    if filter $OBJNAME 
    99101    then 
     102        if [ $VERBOSE == 1 ]; then echo "[$DC] $FILENAME"; fi 
    100103        $DC $WARN -c $INLINE -release -O -version=Posix -version=Tango -of$OBJNAME $FILENAME 
    101104        ar -r lib/$LIB $OBJNAME 2>&1 | grep -v "ranlib: .* has no symbols" 
     
    151154            WARN="-w" 
    152155            ;; 
     156        --verbose)  
     157            VERBOSE=1 
     158            ;; 
    153159        dmd) 
    154160            build dmd libtango-user-dmd.a libtango-base-dmd.a