0
0
mirror of https://gitlab.com/libeigen/eigen.git synced 2026-01-18 17:31:19 +01:00

Add "Version" file and update version.

This commit is contained in:
Antonio Sánchez
2025-09-20 02:08:59 +00:00
committed by Charles Schlosser
parent e0a59e5a66
commit a627f72cd6
6 changed files with 82 additions and 28 deletions

14
cmake/Version.in Normal file
View File

@@ -0,0 +1,14 @@
#ifndef EIGEN_VERSION_H
#define EIGEN_VERSION_H
// The "WORLD" version will forever remain "3" for the "Eigen3" library.
#define EIGEN_WORLD_VERSION 3
// As of Eigen3 5.0.0, we have moved to Semantic Versioning (semver.org).
#define EIGEN_MAJOR_VERSION ${EIGEN_MAJOR_VERSION}
#define EIGEN_MINOR_VERSION ${EIGEN_MINOR_VERSION}
#define EIGEN_PATCH_VERSION ${EIGEN_PATCH_VERSION}
#define EIGEN_PRERELEASE_VERSION "${EIGEN_PRERELEASE_VERSION}"
#define EIGEN_BUILD_VERSION "${EIGEN_BUILD_VERSION}"
#define EIGEN_VERSION_STRING "${EIGEN_VERSION_STRING}"
#endif // EIGEN_VERSION_H