Uses DIXON_VERSION macro for version string

Updates the version logging to use the DIXON_VERSION macro.

This allows the version to be dynamically injected at compile time, instead of a hardcoded string.
This commit is contained in:
Russell Gilbert 2026-02-20 17:12:06 +00:00
parent adda211b76
commit b9bfe8df68
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ int main()
Dixon::DixonLogger logger("main"); Dixon::DixonLogger logger("main");
// The "Splash Screen" // The "Splash Screen"
logger.info("Dixon core is starting. Version: {}", "1.x.x"); logger.info("Dixon core is starting. Version: {}", DIXON_VERSION);
const sigset_t set = prepare_signal_set(); const sigset_t set = prepare_signal_set();
pthread_sigmask(SIG_BLOCK, &set, nullptr); pthread_sigmask(SIG_BLOCK, &set, nullptr);

View file

@ -1 +1 @@
1.0.56 1.0.57