OpenMC/include/openmc/version.h.in
2021-06-09 17:03:57 +07:00

12 lines
382 B
C

#include "openmc/array.h"
namespace openmc {
// OpenMC major, minor, and release numbers
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 {false};
constexpr std::array<int, 3> VERSION {VERSION_MAJOR, VERSION_MINOR, VERSION_RELEASE};
}