EmrysFilter 0.1.0
State estimation utilities in C++23 using Eigen
Loading...
Searching...
No Matches
Version.h
Go to the documentation of this file.
1#pragma once
2
8
9// Eigen/Version is new in Eigen 5.0, and holds nothing but the version macros, so an older Eigen
10// fails here with a message rather than with a missing file.
11#if !__has_include(<Eigen/Version>)
12# error "EmrysFilter requires Eigen 5.0 or newer"
13#endif
14#include <Eigen/Version>
15
16// The library is tested against Eigen 5.0.1 alone. Any 5.0 or later is accepted, 5.0.0 included,
17// but untested.
18static_assert(EIGEN_MAJOR_VERSION >= 5, "EmrysFilter requires Eigen 5.0 or newer");
19
20namespace Emrys
21{
22
26inline constexpr int versionMajor = 0;
27
31inline constexpr int versionMinor = 1;
32
36inline constexpr int versionPatch = 0;
37
38} // namespace Emrys
constexpr int versionMinor
The minor version.
Definition Version.h:31
constexpr int versionPatch
The patch version.
Definition Version.h:36
constexpr int versionMajor
The library's version, as major.minor.patch; the same numbers as the CMake project's.
Definition Version.h:26