DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
version.hpp
Go to the documentation of this file.
1/************************************************************
2 * version.h
3 *
4 * Created on: Jun 9, 2016
5 * Author: Leonidas Georgopoulos
6 ************************************************************/
7
8#ifndef DBE_VERSION_H_
9#define DBE_VERSION_H_
10
11#define xstrexp(s) strexp(s)
12#define strexp(s) #s
13
14#ifdef DBE__VERSION_INFO
15#define dbe_compiled_version xstrexp(DBE__VERSION_INFO)
16#else
17#define dbe_compiled_version "compiled without version information"
18#endif
19
20#ifdef DBE__COMMIT_INFO
21#define dbe_compiled_commit xstrexp(DBE__COMMIT_INFO)
22#else
23#define dbe_compiled_commit "compiled without commit information"
24#endif
25
26
27#endif /* DBE_VERSION_H_ */