Update Resource files to add build version
This commit is contained in:
parent
32b1f9c0d2
commit
d796ddeeb3
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue