diff rc/win32/version.rc.in @ 236:4d461ef7d424

HUGE UPDATE: convert build system to autotools why? because cmake sucks :)
author Paper <mrpapersonic@gmail.com>
date Fri, 19 Jan 2024 00:24:02 -0500
parents 2004b41d4a59
children
line wrap: on
line diff
--- a/rc/win32/version.rc.in	Tue Jan 16 15:22:29 2024 -0500
+++ b/rc/win32/version.rc.in	Fri Jan 19 00:24:02 2024 -0500
@@ -1,16 +1,14 @@
 #include "winver.h"
 
-#define VER_FILEVERSION     @minori_VERSION_MAJOR@,@minori_VERSION_MINOR@,@minori_VERSION_PATCH@,0
-#define VER_FILEVERSION_STR "@minori_VERSION_MAJOR@.@minori_VERSION_MINOR@.@minori_VERSION_PATCH@.0\0"
-
-#define VER_PRODUCTVERSION     @minori_VERSION_MAJOR@,@minori_VERSION_MINOR@,@minori_VERSION_PATCH@,0
-#define VER_PRODUCTVERSION_STR "@minori_VERSION_MAJOR@.@minori_VERSION_MINOR@.@minori_VERSION_PATCH@\0"
+#ifndef WRC_VERSION
+#   define WRC_VERSION 0,0,0,0
+#endif
 
 #define RC_INFO_STRING "@RC_INFO_STRING@\0"
 
 VS_VERSION_INFO VERSIONINFO
-	FILEVERSION VER_FILEVERSION
-	PRODUCTVERSION VER_PRODUCTVERSION
+	FILEVERSION WRC_VERSION
+	PRODUCTVERSION WRC_VERSION
 	FILEFLAGS 0x0L
 	FILEFLAGSMASK 0x3fL
 	FILEOS 0x00040004L