Changeset 18601 for trunk/FACT++


Ignore:
Timestamp:
09/17/16 16:32:31 (8 years ago)
Author:
tbretz
Message:
Updated the handling of the flags to better split between pre-processor and compiler
Location:
trunk/FACT++
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/Makefile.am

    r18508 r18601  
    1313AM_CPPFLAGS = -Idim/dim -Ipal -Ierfa/src \
    1414   $(DIM_FLAGS) $(BOOST_FLAGS) $(ROOTCPPFLAGS) \
     15   $(SVN_REVISION)
     16
     17AM_CXXFLAGS = $(ROOTCXXFLAGS) \
    1518   -Wall -Winit-self -Wpointer-arith -Wcast-align -Wextra -Wformat=2 \
    16    $(SVN_REVISION)
    17 
    18 AM_CXXFLAGS = $(AM_CPPFLAGS) \
    1919   -Woverloaded-virtual -Wnon-virtual-dtor -Wshadow
    2020
  • trunk/FACT++/configure.ac

    r18584 r18601  
    264264
    265265# Now we can safely add the compiler option for your prefered standard
    266 CXXFLAGS+=" -std=c++0x"
     266CXXFLAGS+=" -DTTTT -std=c++0x -DXXX "
    267267
    268268#AC_CHECK_HEADERS(
     
    322322then
    323323
    324    ROOTCPPFLAGS=$ROOTCFLAGS" "$ROOTAUXCFLAGS
     324   ROOTCPPFLAGS=$ROOTCFLAGS
     325   ROOTCXXFLAGS=$ROOTAUXCFLAGS
    325326   ROOTLDFLAGS="-L"$ROOTLIBDIR
    326327
     
    332333
    333334   AC_SUBST(ROOTCPPFLAGS)
     335   AC_SUBST(ROOTCXXFLAGS)
    334336   AC_SUBST(ROOTLDFLAGS)
    335337fi
     
    468470   AC_MSG_NOTICE([ ROOTCINT      = $ROOTCINT])
    469471   AC_MSG_NOTICE([ ROOTCPPFLAGS  = $ROOTCPPFLAGS])
    470    AC_MSG_NOTICE([ ROOTLDFLAGS   = $ROOTLDFLAGS])
     472   AC_MSG_NOTICE([ ROOTCXXFLAGS  = $ROOTCXXFLAGS])
    471473   AC_MSG_NOTICE()
    472474],[])
Note: See TracChangeset for help on using the changeset viewer.