diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-27 22:59:43 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-27 23:00:45 +0300 |
commit | e06a3bd4b50fd001f4d0d49c10a0c4b988c563a0 (patch) | |
tree | ca8d3fba504b185adf1928b998935f8345d66cfd /build | |
parent | 6281960ec0d178935ca2881aff052a9eae5da337 (diff) |
comparison of MIRANDA_VERSION_COREVERSION solves the problem of plugins who differ only in a build number
Diffstat (limited to 'build')
-rw-r--r-- | build/make_ver.bat | 1 | ||||
-rw-r--r-- | build/make_ver_stable.bat | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/build/make_ver.bat b/build/make_ver.bat index 51cdf2e36a..3126ecf69f 100644 --- a/build/make_ver.bat +++ b/build/make_ver.bat @@ -28,6 +28,7 @@ for /f "delims=/ tokens=1-3" %%a in ("%DATE:~4%") do ( copy m_version.h.in "%TempFileName%"
+echo #define MIRANDA_VERSION_COREVERSION %1,%2,%3,0 >> "%TempFileName%"
echo #define MIRANDA_VERSION_FILEVERSION %1,%2,%3,%4 >> "%TempFileName%"
echo #define MIRANDA_VERSION_STRING "%1.%2.%3.%4" >> "%TempFileName%"
echo #define MIRANDA_VERSION_DISPLAY "%1.%2.%3 alpha build #%4 (%5)" >> "%TempFileName%"
diff --git a/build/make_ver_stable.bat b/build/make_ver_stable.bat index f94f659717..7f920792a6 100644 --- a/build/make_ver_stable.bat +++ b/build/make_ver_stable.bat @@ -27,9 +27,10 @@ for /f "delims=/ tokens=1-3" %%a in ("%DATE:~4%") do ( copy m_version.h.in "%TempFileName%" +echo #define MIRANDA_VERSION_COREVERSION %1,%2,%3,0 >> "%TempFileName%" echo #define MIRANDA_VERSION_FILEVERSION %1,%2,%3,%4 >> "%TempFileName%" echo #define MIRANDA_VERSION_STRING "%1.%2.%3.%4" >> "%TempFileName%" -echo #define MIRANDA_VERSION_DISPLAY "%1.%2.%3 build #%4 (%5)" >> "%TempFileName%" +echo #define MIRANDA_VERSION_DISPLAY "%1.%2.%3 build #%4 (%5)" >> "%TempFileName%" echo #define MIRANDA_VERSION_DWORD MIRANDA_MAKE_VERSION(%1, %2, %3, %4) >> "%TempFileName%" echo #define MIRANDA_VERSION_CORE MIRANDA_MAKE_VERSION(%1, %2, %3, 0) >> "%TempFileName%" echo #define MIRANDA_VERSION_CORE_STRING "%1.%2.%3" >> "%TempFileName%" |