diff --git a/CMakeLists.txt b/CMakeLists.txt index bd5ad47..d1f267b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,10 +4,11 @@ project(RpcView) set(RPCVIEW_VERSION_MAJOR 0) set(RPCVIEW_VERSION_MINOR 3) +set(RPCVIEW_VERSION_RELEASE 0) if($ENV{APPVEYOR_BUILD_NUMBER}) - set(RPCVIEW_VERSION_RELEASE $ENV{APPVEYOR_BUILD_NUMBER}) + set(RPCVIEW_VERSION_BUILD $ENV{APPVEYOR_BUILD_NUMBER}) else() - set(RPCVIEW_VERSION_RELEASE 0) + set(RPCVIEW_VERSION_BUILD 0) endif() # configure a header file to pass some of the CMake settings to the source code diff --git a/RpcCore/RpcCoreResource.rc b/RpcCore/RpcCoreResource.rc index 685e8e1..8f1ffcf 100644 --- a/RpcCore/RpcCoreResource.rc +++ b/RpcCore/RpcCoreResource.rc @@ -22,8 +22,8 @@ // 1 VERSIONINFO - FILEVERSION _RPCVIEW_VERSION_MAJOR_,_RPCVIEW_VERSION_MINOR_,_RPCVIEW_VERSION_RELEASE_,0 - PRODUCTVERSION _RPCVIEW_VERSION_MAJOR_,_RPCVIEW_VERSION_MINOR_,_RPCVIEW_VERSION_RELEASE_,0 + FILEVERSION _RPCVIEW_VERSION_MAJOR_,_RPCVIEW_VERSION_MINOR_,_RPCVIEW_VERSION_RELEASE_,_RPCVIEW_VERSION_BUILD_ + PRODUCTVERSION _RPCVIEW_VERSION_MAJOR_,_RPCVIEW_VERSION_MINOR_,_RPCVIEW_VERSION_RELEASE_,_RPCVIEW_VERSION_BUILD_ FILEFLAGSMASK 0x0L #ifdef _DEBUG FILEFLAGS 0x1L diff --git a/RpcDecompiler/RpcDecompilerResource.rc b/RpcDecompiler/RpcDecompilerResource.rc index 6da3493..a06da1d 100644 --- a/RpcDecompiler/RpcDecompilerResource.rc +++ b/RpcDecompiler/RpcDecompilerResource.rc @@ -22,8 +22,8 @@ // 1 VERSIONINFO - FILEVERSION _RPCVIEW_VERSION_MAJOR_,_RPCVIEW_VERSION_MINOR_,_RPCVIEW_VERSION_RELEASE_,0 - PRODUCTVERSION _RPCVIEW_VERSION_MAJOR_,_RPCVIEW_VERSION_MINOR_,_RPCVIEW_VERSION_RELEASE_,0 + FILEVERSION _RPCVIEW_VERSION_MAJOR_,_RPCVIEW_VERSION_MINOR_,_RPCVIEW_VERSION_RELEASE_, _RPCVIEW_VERSION_BUILD_ + PRODUCTVERSION _RPCVIEW_VERSION_MAJOR_,_RPCVIEW_VERSION_MINOR_,_RPCVIEW_VERSION_RELEASE_, _RPCVIEW_VERSION_BUILD_ FILEFLAGSMASK 0x0L #ifdef _DEBUG FILEFLAGS 0x1L diff --git a/RpcView/RpcViewResource.rc b/RpcView/RpcViewResource.rc index 31c1db1..8ee8cf8 100644 --- a/RpcView/RpcViewResource.rc +++ b/RpcView/RpcViewResource.rc @@ -23,8 +23,8 @@ // 1 VERSIONINFO - FILEVERSION _RPCVIEW_VERSION_MAJOR_,_RPCVIEW_VERSION_MINOR_,_RPCVIEW_VERSION_RELEASE_,0 - PRODUCTVERSION _RPCVIEW_VERSION_MAJOR_,_RPCVIEW_VERSION_MINOR_,_RPCVIEW_VERSION_RELEASE_,0 + FILEVERSION _RPCVIEW_VERSION_MAJOR_,_RPCVIEW_VERSION_MINOR_,_RPCVIEW_VERSION_RELEASE_, _RPCVIEW_VERSION_BUILD_ + PRODUCTVERSION _RPCVIEW_VERSION_MAJOR_,_RPCVIEW_VERSION_MINOR_,_RPCVIEW_VERSION_RELEASE_, _RPCVIEW_VERSION_BUILD_ FILEFLAGSMASK 0x0L #ifdef _DEBUG FILEFLAGS 0x1L diff --git a/RpcView/RpcViewVersion.h.in b/RpcView/RpcViewVersion.h.in index 55a13df..1ff9113 100644 --- a/RpcView/RpcViewVersion.h.in +++ b/RpcView/RpcViewVersion.h.in @@ -4,6 +4,7 @@ #define _RPCVIEW_VERSION_MAJOR_ @RPCVIEW_VERSION_MAJOR@ #define _RPCVIEW_VERSION_MINOR_ @RPCVIEW_VERSION_MINOR@ #define _RPCVIEW_VERSION_RELEASE_ @RPCVIEW_VERSION_RELEASE@ -#define _RPCVIEW_PRODUCT_VERSION_ "@RPCVIEW_VERSION_MAJOR@.@RPCVIEW_VERSION_MINOR@.@RPCVIEW_VERSION_RELEASE@.0" +#define _RPCVIEW_VERSION_BUILD_ @RPCVIEW_VERSION_BUILD@ +#define _RPCVIEW_PRODUCT_VERSION_ "@RPCVIEW_VERSION_MAJOR@.@RPCVIEW_VERSION_MINOR@.@RPCVIEW_VERSION_RELEASE@.@RPCVIEW_VERSION_BUILD@" #endif \ No newline at end of file