From 9268fa7334b889ead1ba60d049c545988735decb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toni=20M=C3=A4kinen?= Date: Tue, 30 Apr 2024 21:24:20 +0300 Subject: [PATCH] Fix versioning --- src/buildnumber.h | 21 ++++++++++++--------- src/buildnumber.ixx | 17 ++++++++++------- src/main.cpp | 5 +++++ 3 files changed, 27 insertions(+), 16 deletions(-) diff --git a/src/buildnumber.h b/src/buildnumber.h index a248575..c148c27 100644 --- a/src/buildnumber.h +++ b/src/buildnumber.h @@ -1,5 +1,5 @@ -// AUTOMATICALLY GENERATED BY BUILDINC v0.2.340 TOOL -// LAST BUILD (CMAKE): 2024-04-30 21:19:55 +// AUTOMATICALLY GENERATED BY BUILDINC v0.2.351 TOOL +// LAST BUILD (CMAKE): 2024-04-30 21:23:16 #pragma once @@ -10,21 +10,24 @@ namespace BuildInc { +// AUTOMATICALLY GENERATED BY BUILDINC v0.2.351 TOOL +// LAST BUILD (CMAKE): 2024-04-30 21:23:16 + // You can modify major and minor constexpr uint32_t major = 0; constexpr uint32_t minor = 2; // Do not modify these - constexpr uint32_t build = 350; + constexpr uint32_t build = 353; constexpr uint32_t version = major * 10000 + minor * 1000 + build; - constexpr uint64_t random_seed = 0x94ab434f208577b7; + constexpr uint64_t random_seed = 0x753f43352ad14c97; - constexpr char version_string[] = "v0.2.350"; - constexpr char build_time_string[] = "2024-04-30 21:19:55"; - constexpr char phrase[] = "extrude-rummage-unwoven"; - constexpr char calver[] = "2024.18.350"; - constexpr char uuid[] = "C7C23282-A9C0-49AC-B894-BEE2139C52E3"; + constexpr char version_string[] = "v0.2.353"; + constexpr char build_time_string[] = "2024-04-30 21:23:16"; + constexpr char phrase[] = "kilt-baboon-struck"; + constexpr char calver[] = "2024.18.353"; + constexpr char uuid[] = "663800F6-2A4F-4502-9548-117853AE2AA8"; // Copy paste to import to your project /* diff --git a/src/buildnumber.ixx b/src/buildnumber.ixx index 844aa18..bd40212 100644 --- a/src/buildnumber.ixx +++ b/src/buildnumber.ixx @@ -4,21 +4,24 @@ module; export module BuildInc; export namespace BuildInc { +// AUTOMATICALLY GENERATED BY BUILDINC v0.2.351 TOOL +// LAST BUILD (CMAKE): 2024-04-30 21:23:16 + // You can modify major and minor constexpr uint32_t major = 0; constexpr uint32_t minor = 2; // Do not modify these - constexpr uint32_t build = 350; + constexpr uint32_t build = 353; constexpr uint32_t version = major * 10000 + minor * 1000 + build; - constexpr uint64_t random_seed = 0x2dede943dd837355; + constexpr uint64_t random_seed = 0xb23a3d5a93a446b2; - constexpr char version_string[] = "v0.2.350"; - constexpr char build_time_string[] = "2024-04-30 21:19:56"; - constexpr char phrase[] = "voting-liable-gigolo"; - constexpr char calver[] = "2024.18.350"; - constexpr char uuid[] = "39D0713C-2E49-4ECB-A82B-7C738D327D9E"; + constexpr char version_string[] = "v0.2.353"; + constexpr char build_time_string[] = "2024-04-30 21:23:16"; + constexpr char phrase[] = "cinch-isotope-mankind"; + constexpr char calver[] = "2024.18.353"; + constexpr char uuid[] = "06FB2D6F-CA37-4F1D-A814-C74BF425A4FC"; // Copy paste to import to your project /* diff --git a/src/main.cpp b/src/main.cpp index b99d48a..fc5f499 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -213,6 +213,11 @@ void WriteModule(std::filesystem::path &HeaderFile, const std::string &project_n std::string generated; generated.reserve(1400); + auto date = GetDateString(); + + + generated.append(std::format("// AUTOMATICALLY GENERATED BY BUILDINC {} TOOL\n", BuildInc::version_string)); + generated.append(std::format("// LAST BUILD (CMAKE): {}\n\n", date)); generated.append("module;\n"); generated.append("#include \n\n");