Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
3dproger committed Aug 23, 2022
1 parent 9a1d66f commit 4751fd4
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/applicationinfo.hpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
#pragma once

#define STR_HELPER(x) #x
#define STR(x) STR_HELPER(x)

// https://docs.microsoft.com/ru-ru/windows/win32/menurc/versioninfo-resource?redirectedfrom=MSDN

#define APP_INFO_PRODUCTVERSION 0,18,2,0
#define APP_INFO_PRODUCTVERSION_STR "0.18.3"
#define APP_INFO_PRODUCTVERSION_MAJOR 0
#define APP_INFO_PRODUCTVERSION_MINOR 18
#define APP_INFO_PRODUCTVERSION_PATCH 2

#define APP_INFO_PRODUCTVERSION APP_INFO_PRODUCTVERSION_MAJOR, APP_INFO_PRODUCTVERSION_MINOR, APP_INFO_PRODUCTVERSION_PATCH, 0
#define APP_INFO_PRODUCTVERSION_STR STR(APP_INFO_PRODUCTVERSION_MAJOR) "." STR(APP_INFO_PRODUCTVERSION_MINOR) "." STR(APP_INFO_PRODUCTVERSION_PATCH)

#define APP_INFO_FILEVERSION APP_INFO_PRODUCTVERSION
#define APP_INFO_FILEVERSION_STR APP_INFO_PRODUCTVERSION_STR
Expand Down

0 comments on commit 4751fd4

Please sign in to comment.