-
Notifications
You must be signed in to change notification settings - Fork 163
/
H5Version.hpp.in
33 lines (30 loc) · 990 Bytes
/
H5Version.hpp.in
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
/*
* Copyright (c), 2020
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*
*/
#pragma once
#define HIGHFIVE_VERSION_MAJOR @PROJECT_VERSION_MAJOR@
#define HIGHFIVE_VERSION_MINOR @PROJECT_VERSION_MINOR@
#define HIGHFIVE_VERSION_PATCH @PROJECT_VERSION_PATCH@
/** \brief Concatenated representation of the HighFive version.
*
* \warning The macro `HIGHFIVE_VERSION` by itself isn't valid C/C++.
*
* However, it can be stringified with two layers of macros, e.g.,
* \code{.cpp}
* #define STRINGIFY_VALUE(s) STRINGIFY_NAME(s)
* #define STRINGIFY_NAME(s) #s
*
* std::cout << STRINGIFY_VALUE(HIGHFIVE_VERSION) << "\n";
* \endcode
*/
#define HIGHFIVE_VERSION @PROJECT_VERSION@
/** \brief String representation of the HighFive version.
*
* \warning This macro only exists from 2.7.1 onwards.
*/
#define HIGHFIVE_VERSION_STRING "@PROJECT_VERSION@"