Subversion Repositories f9daq

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
360 f9daq 1
/**
2
 * $Id: $
3
 *
4
 * @brief Red Pitaya simple version strings. To be embedded in binaries
5
 *        at build time for SW traceability.
6
 *
7
 * @Author Ales Bardorfer <ales.bardorfer@redpitaya.com>
8
 *
9
 * (c) Red Pitaya  http://www.redpitaya.com
10
 *
11
 * This part of code is written in C programming language.
12
 * Please visit http://en.wikipedia.org/wiki/C_(programming_language)
13
 * for more details on the language used herein.
14
 */
15
 
16
#ifndef VERSION_H
17
#define VERSION_H
18
 
19
#define XSTR(s) STR(s)
20
#define STR(s) #s
21
 
22
#ifndef VERSION
23
#define VERSION_STR "0.00-0000"
24
#else
25
#define VERSION_STR XSTR(VERSION)
26
#endif
27
 
28
#ifndef REVISION
29
#define REVISION_STR "unknown"
30
#else
31
#define REVISION_STR XSTR(REVISION)
32
#endif
33
 
34
#endif /* VERSION_H */