source: branches/alilink/TEMPLATES/arb_version.h

Last change on this file was 11669, checked in by westram, 11 years ago
  • reverted [11648]
  • retrieve svn information using
    • method1: svn info
    • method2: variable SVN_URL (as set inside jenkins builds)
  • accept failure in method1 (AFAIK only happens inside jenkins if svn version differs between master and slave) and fallback to result of method2
  • if both methods succeed, fail on conflicts
  • dump contents of version-related files to build log
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1// =============================================================== //
2//                                                                 //
3//   File      : arb_version.h                                     //
4//   Purpose   :                                                   //
5//                                                                 //
6//   Coded by Ralf Westram (coder@reallysoft.de) in March 2007     //
7//   Institute of Microbiology (Technical University Munich)       //
8//   http://www.arb-home.de/                                       //
9//                                                                 //
10// =============================================================== //
11#ifndef ARB_VERSION_H
12#define ARB_VERSION_H
13
14// exports the following variables:
15//
16// ARB_BUILD_DATE           contains the date on which arb was build
17// ARB_BUILD_YEAR           contains the year in which arb was build
18// ARB_BUILD_HOST           contains the host on which arb was build
19// ARB_BUILD_USER           contains the user by whom  arb was build
20//
21// ARB_VERSION              arb version (no revision number for rc and stable)
22// ARB_VERSION_DETAILED     arb version (always including revision number)
23
24#include <arb_build.h>
25#include <svn_revision.h>
26
27#ifndef ARB_VERSION
28#error No version defined
29#endif
30
31#else
32#error arb_version.h included twice
33#endif // ARB_VERSION_H
34
35
36
37
Note: See TracBrowser for help on using the repository browser.