mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-21 14:35:27 -04:00
19 lines
519 B
C
19 lines
519 B
C
#ifndef OPENMC_VERSION_H
|
|
#define OPENMC_VERSION_H
|
|
|
|
#include "openmc/array.h"
|
|
|
|
namespace openmc {
|
|
|
|
// OpenMC major, minor, and release numbers
|
|
// clang-format off
|
|
constexpr int VERSION_MAJOR {@OPENMC_VERSION_MAJOR@};
|
|
constexpr int VERSION_MINOR {@OPENMC_VERSION_MINOR@};
|
|
constexpr int VERSION_RELEASE {@OPENMC_VERSION_RELEASE@};
|
|
constexpr bool VERSION_DEV {true};
|
|
constexpr std::array<int, 3> VERSION {VERSION_MAJOR, VERSION_MINOR, VERSION_RELEASE};
|
|
// clang-format on
|
|
|
|
} // namespace openmc
|
|
|
|
#endif // OPENMC_VERSION_H
|