Changeset 11388


Ignore:
Timestamp:
07/13/11 23:09:17 (13 years ago)
Author:
tbretz
Message:
Added svn revision to output at startup.
Location:
trunk/FACT++
Files:
3 edited

Legend:

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

    r11382 r11388  
    44
    55ACLOCAL_AMFLAGS = -I .macro_dir
     6
     7SVN_REVISION = -DREVISION=\"`svnversion -n .`\"
    68
    79DIM_FLAGS    = -DMIPSEL -DPROTOCOL=1 -Dunix -Dlinux
     
    911
    1012AM_CPPFLAGS = -Idim/dim $(DIM_FLAGS) $(BOOST_FLAGS) $(ROOTCPPFLAGS) \
    11    -O3 -Wall -Winit-self -Wpointer-arith -Wcast-align -Wextra -Wformat=2
     13   -O3 -Wall -Winit-self -Wpointer-arith -Wcast-align -Wextra -Wformat=2 \
     14   $(SVN_REVISION)
    1215
    1316AM_CXXFLAGS = $(AM_CPPFLAGS) $(QT4_INCLUDES) \
  • trunk/FACT++/Makefile.in

    r11383 r11388  
    625625#-------------------------------------------------------------------------
    626626ACLOCAL_AMFLAGS = -I .macro_dir
     627SVN_REVISION = -DREVISION=\"`svnversion -n .`\"
    627628DIM_FLAGS = -DMIPSEL -DPROTOCOL=1 -Dunix -Dlinux
    628629BOOST_FLAGS = -DBOOST_DISABLE_ASSERTS
    629630AM_CPPFLAGS = -Idim/dim $(DIM_FLAGS) $(BOOST_FLAGS) $(ROOTCPPFLAGS) \
    630    -O3 -Wall -Winit-self -Wpointer-arith -Wcast-align -Wextra -Wformat=2
     631   -O3 -Wall -Winit-self -Wpointer-arith -Wcast-align -Wextra -Wformat=2 \
     632   $(SVN_REVISION)
    631633
    632634AM_CXXFLAGS = $(AM_CPPFLAGS) $(QT4_INCLUDES) \
  • trunk/FACT++/src/Main.h

    • Property svn:keywords deleted
    r11386 r11388  
    6262    const Time now;
    6363    io_service.Write(now, "---------------------------- Program ----------------------------");
    64     io_service.Write(now, " Time: "+now.GetAsStr("%c"));
     64    io_service.Write(now, " Current time: "+now.GetAsStr("%c"));
    6565    io_service.Write(now, " Name: "+conf.GetName());
    6666    io_service.Write(now, " Compiled: "__DATE__" "__TIME__);
    67     io_service.Write(now, $Rev$);
     67    io_service.Write(now, " Revision: "REVISION);
    6868    io_service.Write(now, "---------------------------- Options ----------------------------");
    6969    const multimap<string,string> map = conf.GetOptions();
Note: See TracChangeset for help on using the changeset viewer.