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

Ticket #1096: tango-build-verbose.patch

File tango-build-verbose.patch, 1.1 kB (added by afb, 6 months ago)
  • lib/build-tango.sh

    old new  
    1919Options: 
    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 
    2425 
     
    3132UNAME=`uname` 
    3233INLINE="-inline" 
    3334WARN="" 
     35VERBOSE=0 
    3436 
    3537# Compiler specific includes 
    3638. dmdinclude 
     
    9799 
    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" 
    102105        rm $OBJNAME 
     
    150153        --warn) 
    151154            WARN="-w" 
    152155            ;; 
     156        --verbose) 
     157            VERBOSE=1 
     158            ;; 
    153159        dmd) 
    154160            build dmd libtango-user-dmd.a libtango-base-dmd.a 
    155161            ;;