Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
version.hpp
Go to the documentation of this file.
1 /*******************************************************************************
2  * tlx/version.hpp
3  *
4  * Part of tlx - http://panthema.net/tlx
5  *
6  * Copyright (C) 2018 Timo Bingmann <[email protected]>
7  *
8  * All rights reserved. Published under the Boost Software License, Version 1.0
9  ******************************************************************************/
10 
11 #ifndef TLX_VERSION_HEADER
12 #define TLX_VERSION_HEADER
13 
14 namespace tlx {
15 
16 //! TLX_MAJOR is the a mahor version number currently always zero.
17 #define TLX_MAJOR_VERSION 0
18 
19 /*[[[perl
20  return "keep" if $ENV{USER} ne "tb";
21  use POSIX qw(strftime);
22  my $date = strftime("%Y%m%d", localtime);
23  print "//! TLX_MINOR is the date of the last commit.\n";
24  print "#define TLX_MINOR_VERSION $date\n";
25 ]]]*/
26 //! TLX_MINOR is the date of the last commit.
27 #define TLX_MINOR_VERSION 20180907
28 // [[[end]]]
29 
30 //! TLX_VERSION is a combination of TLX_MAJOR_VERSION and TLX_MINOR_VERSION
31 #define TLX_VERSION (TLX_MAJOR_VERSION * 100000000lu + TLX_MINOR_VERSION)
32 
33 } // namespace tlx
34 
35 #endif // !TLX_VERSION_HEADER
36 
37 /******************************************************************************/