[go: up one dir, main page]

Menu

[dc7c28]: / common / version.cpp  Maximize  Restore  History

Download this file

39 lines (31 with data), 953 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#include <stxxl/bits/version.h>
#define STXXL_VERSION_STRING_MA_MI_PL "1.1.0"
// version.defs gets created if a snapshot/beta/rc/release is done
#ifdef HAVE_VERSION_DEFS
#include "version.defs"
#endif
// version_svn.defs gets created if stxxl is built from SVN
#ifdef HAVE_VERSION_SVN_DEFS
#include "version_svn.defs"
#endif
// FIXME: this currently only works for GNU-like systems,
// there are no details available on windows platform
const char * stxxl::get_version_string()
{
return "STXXL v"
STXXL_VERSION_STRING_MA_MI_PL
#ifdef STXXL_VERSION_STRING_DATE
"-" STXXL_VERSION_STRING_DATE
#endif
#ifdef STXXL_VERSION_STRING_SVN_REVISION
" (SVN r" STXXL_VERSION_STRING_SVN_REVISION ")"
#endif
#ifdef STXXL_VERSION_STRING_PHASE
" (" STXXL_VERSION_STRING_PHASE ")"
#endif
#ifdef STXXL_VERSION_STRING_COMMENT
" (" STXXL_VERSION_STRING_COMMENT ")"
#endif
;
}
// vim: et:ts=4:sw=4