source: trunk/lib/subversion_revision.cc @ 1337

Last change on this file since 1337 was 1337, checked in by Peter Johansson, 11 years ago

using macros from yat to create files .release and .release_year

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
RevLine 
[569]1// $Id: subversion_revision.cc 1337 2011-02-12 23:57:58Z peter $
2
3/*
[978]4  Copyright (C) 2008 Jari Häkkinen, Peter Johansson
[569]5
[687]6  This file is part of svndigest, http://dev.thep.lu.se/svndigest
[569]7
8  svndigest is free software; you can redistribute it and/or modify it
9  under the terms of the GNU General Public License as published by
[693]10  the Free Software Foundation; either version 3 of the License, or
[569]11  (at your option) any later version.
12
13  svndigest is distributed in the hope that it will be useful, but
14  WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  General Public License for more details.
17
18  You should have received a copy of the GNU General Public License
[693]19  along with svndigest. If not, see <http://www.gnu.org/licenses/>.
[569]20*/
21
[1337]22#include "subversion_revision.h"
23#include "svn_revision.h"
[569]24#include <string>
25
26namespace theplu{
27namespace svndigest{
28
[620]29  std::string compilation_date(void)
30  {
31    return __DATE__;
32  }
33
34
35  std::string compilation_time(void)
36  {
37    return __TIME__;
38  }
39
40
[569]41  std::string svn_revision(void)
42  {
[1337]43    return SVN_REVISION;
[569]44  }
45
46}} // end of namespace svndigest and namespace theplu
Note: See TracBrowser for help on using the repository browser.