569 |
13 Mar 08 |
peter |
// $Id$ |
569 |
13 Mar 08 |
peter |
2 |
|
569 |
13 Mar 08 |
peter |
3 |
/* |
978 |
12 Dec 09 |
peter |
Copyright (C) 2008 Jari Häkkinen, Peter Johansson |
1635 |
30 Mar 23 |
peter |
Copyright (C) 2011, 2023 Peter Johansson |
569 |
13 Mar 08 |
peter |
6 |
|
687 |
04 Aug 08 |
peter |
This file is part of svndigest, http://dev.thep.lu.se/svndigest |
569 |
13 Mar 08 |
peter |
8 |
|
569 |
13 Mar 08 |
peter |
svndigest is free software; you can redistribute it and/or modify it |
569 |
13 Mar 08 |
peter |
under the terms of the GNU General Public License as published by |
693 |
11 Sep 08 |
jari |
the Free Software Foundation; either version 3 of the License, or |
569 |
13 Mar 08 |
peter |
(at your option) any later version. |
569 |
13 Mar 08 |
peter |
13 |
|
569 |
13 Mar 08 |
peter |
svndigest is distributed in the hope that it will be useful, but |
569 |
13 Mar 08 |
peter |
WITHOUT ANY WARRANTY; without even the implied warranty of |
569 |
13 Mar 08 |
peter |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
569 |
13 Mar 08 |
peter |
General Public License for more details. |
569 |
13 Mar 08 |
peter |
18 |
|
569 |
13 Mar 08 |
peter |
You should have received a copy of the GNU General Public License |
693 |
11 Sep 08 |
jari |
along with svndigest. If not, see <http://www.gnu.org/licenses/>. |
569 |
13 Mar 08 |
peter |
21 |
*/ |
569 |
13 Mar 08 |
peter |
22 |
|
1619 |
12 Mar 23 |
peter |
23 |
#include <config.h> |
1619 |
12 Mar 23 |
peter |
24 |
|
1337 |
12 Feb 11 |
peter |
25 |
#include "subversion_revision.h" |
1337 |
12 Feb 11 |
peter |
26 |
#include "svn_revision.h" |
569 |
13 Mar 08 |
peter |
27 |
#include <string> |
569 |
13 Mar 08 |
peter |
28 |
|
569 |
13 Mar 08 |
peter |
29 |
namespace theplu{ |
569 |
13 Mar 08 |
peter |
30 |
namespace svndigest{ |
569 |
13 Mar 08 |
peter |
31 |
|
620 |
23 Apr 08 |
peter |
32 |
std::string compilation_date(void) |
620 |
23 Apr 08 |
peter |
33 |
{ |
620 |
23 Apr 08 |
peter |
34 |
return __DATE__; |
620 |
23 Apr 08 |
peter |
35 |
} |
620 |
23 Apr 08 |
peter |
36 |
|
620 |
23 Apr 08 |
peter |
37 |
|
620 |
23 Apr 08 |
peter |
38 |
std::string compilation_time(void) |
620 |
23 Apr 08 |
peter |
39 |
{ |
620 |
23 Apr 08 |
peter |
40 |
return __TIME__; |
620 |
23 Apr 08 |
peter |
41 |
} |
620 |
23 Apr 08 |
peter |
42 |
|
620 |
23 Apr 08 |
peter |
43 |
|
569 |
13 Mar 08 |
peter |
44 |
std::string svn_revision(void) |
569 |
13 Mar 08 |
peter |
45 |
{ |
1337 |
12 Feb 11 |
peter |
46 |
return SVN_REVISION; |
569 |
13 Mar 08 |
peter |
47 |
} |
569 |
13 Mar 08 |
peter |
48 |
|
569 |
13 Mar 08 |
peter |
49 |
}} // end of namespace svndigest and namespace theplu |