Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3788 in orxonox.OLD for orxonox/trunk/configure.ac


Ignore:
Timestamp:
Apr 13, 2005, 10:27:59 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: profiling support enabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/configure.ac

    r3592 r3788  
    172172AM_CONDITIONAL(SUB_PROJECTS, test x$def_sub_projects = xyes)
    173173
     174#-------------------#
     175# Profiling Enabled #
     176#-------------------#
     177def_profiling=no
     178AC_MSG_CHECKING([if Profiling should be enabled])
     179AC_ARG_ENABLE([profile],
     180        AC_HELP_STRING( [--enable-profile],
     181        [builds orxonox with profiling support]), [def_profiling=yes])
     182if test x$def_profiling = xyes; then
     183AM_CONDITIONAL(SUB_PROJECTS, test x$def_sub_projects = xyes)
     184  echo "yes"
     185  CXXFLAGS="$CXXFLAGS -pg"
     186fi
     187if test x$def_profiling = xno; then
     188  echo "no"
     189fi
     190
     191
    174192#----------------------#
    175193# Documentation-enable #
Note: See TracChangeset for help on using the changeset viewer.