Luna/kernel/src/config.h.in
apio 358493a7bc
All checks were successful
continuous-integration/drone/push Build is passing
kernel: Add a system for release names in uname(), call alpha releases "Mercury"
2023-07-22 12:21:01 +02:00

15 lines
474 B
C

#pragma once
#define MOON_VERSION "@CMAKE_PROJECT_VERSION@"
#define MOON_VERSION_MAJOR "@CMAKE_PROJECT_VERSION_MAJOR@"
#define MOON_VERSION_MINOR "@CMAKE_PROJECT_VERSION_MINOR@"
#define MOON_VERSION_PATCH "@CMAKE_PROJECT_VERSION_PATCH@"
#ifndef STRINGIZE_VALUE_OF
#define STRINGIZE(x) #x
#define STRINGIZE_VALUE_OF(x) STRINGIZE(x)
#endif
#define MOON_RELEASE_NAME "@LUNA_RELEASE_NAME@"
#define MOON_RELEASE STRINGIZE_VALUE_OF(MOON_RELEASE_NAME) " " __DATE__ " " __TIME__