Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3592 in orxonox.OLD for orxonox/trunk/configure


Ignore:
Timestamp:
Mar 17, 2005, 3:33:58 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: debug.h: now ability to choose between modular and not modular in configure through —disable-modular-debug. Also made it more runtime-proove. so now you have to set the mode in orxonox.cc too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/configure

    r3569 r3592  
    867867  --enable-debug          compiles in debug mode. Lots of debug info about the
    868868                          game.
     869  --disable-modular-debug compiles in modular-debug mode, that logs
     870                          differently on the many modules of orxonox.
    869871  --enable-sub-projects   also builds the subProjects while make from srcdir
    870872  --enable-documentation  also builds the sDocumentation while make from
     
    38623864if test x$DEBUG = xno; then
    38633865        echo "no"
    3864         echo " -> Setting debuglevel to 3. (orxonox is still in Development. It really is needed."
    3865         DEBUG=3
     3866        echo " -> Setting debuglevel to 4. (orxonox is still in Development. It really is needed."
     3867        DEBUG=4
    38663868elif test x$DEBUG = xyes; then
    38673869        echo "yes"
     
    38783880
    38793881
     3882
     3883#---------------#
     3884# Modular Debug #
     3885#---------------#
     3886MODULAR_DEBUG=yes
     3887echo "$as_me:$LINENO: checking if Modular-DEBUG-mode should be ebabled" >&5
     3888echo $ECHO_N "checking if Modular-DEBUG-mode should be ebabled... $ECHO_C" >&6
     3889# Check whether --enable-modular-debug or --disable-modular-debug was given.
     3890if test "${enable_modular_debug+set}" = set; then
     3891  enableval="$enable_modular_debug"
     3892  MODULAR_DEBUG=$enableval
     3893fi;
     3894
     3895if test x$MODULAR_DEBUG = xno; then
     3896        echo "no"
     3897elif test x$MODULAR_DEBUG = xyes; then
     3898        echo "yes"
     3899
     3900cat >>confdefs.h <<_ACEOF
     3901#define MODULAR_DEBUG 1
     3902_ACEOF
     3903
     3904fi
    38803905
    38813906#--------------#
Note: See TracChangeset for help on using the changeset viewer.