From c1a905b5020c4f2f4ade85577e0c36811be87de4 Mon Sep 17 00:00:00 2001
From: Ferenc Szontágh <szf@fsociety.hu>
Date: Mon, 14 Apr 2025 09:08:34 +0000
Subject: [PATCH] packaging, docs

---
 cmake/options.h.in |   19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/cmake/options.h.in b/cmake/options.h.in
index c457729..7fb70bd 100644
--- a/cmake/options.h.in
+++ b/cmake/options.h.in
@@ -10,13 +10,16 @@
 #else
 const char EOL = '\n';
 #endif
-const char   COMMENT_CHARACTER = '@COMMENT_CHARACTER@';
-const static char * PARSER_OPEN_TAG   = "@PARSER_OPEN_TAG@";
-const static char * PARSER_CLOSE_TAG  = "@PARSER_CLOSE_TAG@";
-const static char * VERSION_MINOR     = "@CMAKE_PROJECT_VERSION_MINOR@";
-const static char * VERSION_MAJOR     = "@CMAKE_PROJECT_VERSION_MAJOR@";
-const static char * VERSION_PATCH     = "@CMAKE_PROJECT_VERSION_PATCH@";
-const static char * VERSION_STRING    = "@CMAKE_PROJECT_VERSION@-@CMAKE_BUILD_TYPE@-@CMAKE_SYSTEM@";
+const char          COMMENT_CHARACTER   = '@COMMENT_CHARACTER@';
+const static char * PARSER_OPEN_TAG     = "@PARSER_OPEN_TAG@";
+const static char * PARSER_CLOSE_TAG    = "@PARSER_CLOSE_TAG@";
+const static char * VERSION_MINOR       = "@CMAKE_PROJECT_VERSION_MINOR@";
+const static char * VERSION_MAJOR       = "@CMAKE_PROJECT_VERSION_MAJOR@";
+const static char * VERSION_PATCH       = "@CMAKE_PROJECT_VERSION_PATCH@";
+const static char * VERSION_ARCH        = "@ARCHITECTURE@";
+const static char * VERSION_SYSTEM_NAME = "@CMAKE_SYSTEM_NAME@";
+const static char * VERSION_GIT_HASH    = "@APP_GIT_VERSION@";
+const static char * VERSION_STRING      = "v@CMAKE_PROJECT_VERSION@-@CMAKE_SYSTEM_NAME@-@ARCHITECTURE@-@CMAKE_BUILD_TYPE@";
 #cmakedefine01 DEBUG_BUILD
 
-#endif // VOIDSCRIPT_OPTIONS_H
\ No newline at end of file
+#endif  // VOIDSCRIPT_OPTIONS_H

--
Gitblit v1.9.3