Set build number on build
This commit is contained in:
parent
2d7524ae2f
commit
1178b5c73f
|
@ -81,10 +81,9 @@ Thumbs.db
|
||||||
/Plugin64/RSP/RSP_d 1.7.dll
|
/Plugin64/RSP/RSP_d 1.7.dll
|
||||||
/Plugin64/RSP/RSP-HLE.dll
|
/Plugin64/RSP/RSP-HLE.dll
|
||||||
/Plugin64/RSP/RSP-HLE_d.dll
|
/Plugin64/RSP/RSP-HLE_d.dll
|
||||||
/Source/3rdParty/wx/lib/vc_lib/msw/wx/setup.h
|
/Source/nragev20/Version.h
|
||||||
/Source/3rdParty/wx/lib/vc_lib/mswd/wx/setup.h
|
/Source/Project64-audio/Version.h
|
||||||
/Source/3rdParty/wx/lib/vc_lib/mswu/wx/msw/rcdefs.h
|
/Source/Project64-core/Version.h
|
||||||
/Source/3rdParty/wx/lib/vc_lib/mswu/wx/setup.h
|
/Source/Project64-video/Version.h
|
||||||
/Source/3rdParty/wx/lib/vc_lib/mswud/wx/msw/rcdefs.h
|
/Source/RSP/Version.h
|
||||||
/Source/3rdParty/wx/lib/vc_lib/mswud/wx/setup.h
|
|
||||||
/Save
|
/Save
|
||||||
|
|
|
@ -9,6 +9,7 @@ EndProject
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Project64", "Source\Project64\Project64.vcxproj", "{7E534C8E-1ACE-4A88-8807-39A11ED4DA18}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Project64", "Source\Project64\Project64.vcxproj", "{7E534C8E-1ACE-4A88-8807-39A11ED4DA18}"
|
||||||
ProjectSection(ProjectDependencies) = postProject
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
{A4D13408-A794-4199-8FC7-4A9A32505005} = {A4D13408-A794-4199-8FC7-4A9A32505005}
|
{A4D13408-A794-4199-8FC7-4A9A32505005} = {A4D13408-A794-4199-8FC7-4A9A32505005}
|
||||||
|
{1968162C-0793-491D-91A1-81645A24D399} = {1968162C-0793-491D-91A1-81645A24D399}
|
||||||
{D233025A-231F-4A43-92B6-E87193C60ACC} = {D233025A-231F-4A43-92B6-E87193C60ACC}
|
{D233025A-231F-4A43-92B6-E87193C60ACC} = {D233025A-231F-4A43-92B6-E87193C60ACC}
|
||||||
{FD617E80-9E40-4138-85DA-B94633972E6A} = {FD617E80-9E40-4138-85DA-B94633972E6A}
|
{FD617E80-9E40-4138-85DA-B94633972E6A} = {FD617E80-9E40-4138-85DA-B94633972E6A}
|
||||||
EndProjectSection
|
EndProjectSection
|
||||||
|
@ -42,6 +43,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "PropertySheets", "PropertyS
|
||||||
EndProjectSection
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Project64-core", "Source\Project64-core\Project64-core.vcxproj", "{00C7B43A-DED7-4DF0-B072-9A5783EF866D}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Project64-core", "Source\Project64-core\Project64-core.vcxproj", "{00C7B43A-DED7-4DF0-B072-9A5783EF866D}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{1968162C-0793-491D-91A1-81645A24D399} = {1968162C-0793-491D-91A1-81645A24D399}
|
||||||
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "png", "Source\3rdParty\png\png.vcxproj", "{17836496-31B0-46F2-B1B1-366D7DF6F04C}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "png", "Source\3rdParty\png\png.vcxproj", "{17836496-31B0-46F2-B1B1-366D7DF6F04C}"
|
||||||
EndProject
|
EndProject
|
||||||
|
@ -59,6 +63,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Project64-video", "Source\P
|
||||||
EndProject
|
EndProject
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Project64-audio", "Source\Project64-audio\Project64-audio.vcxproj", "{D233025A-231F-4A43-92B6-E87193C60ACC}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Project64-audio", "Source\Project64-audio\Project64-audio.vcxproj", "{D233025A-231F-4A43-92B6-E87193C60ACC}"
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "UpdateVersion", "Source\UpdateVersion\UpdateVersion.vcxproj", "{1968162C-0793-491D-91A1-81645A24D399}"
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Win32 = Debug|Win32
|
Debug|Win32 = Debug|Win32
|
||||||
|
@ -192,6 +198,14 @@ Global
|
||||||
{D233025A-231F-4A43-92B6-E87193C60ACC}.Release|Win32.ActiveCfg = Release|Win32
|
{D233025A-231F-4A43-92B6-E87193C60ACC}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
{D233025A-231F-4A43-92B6-E87193C60ACC}.Release|Win32.Build.0 = Release|Win32
|
{D233025A-231F-4A43-92B6-E87193C60ACC}.Release|Win32.Build.0 = Release|Win32
|
||||||
{D233025A-231F-4A43-92B6-E87193C60ACC}.Release|x64.ActiveCfg = Release|Win32
|
{D233025A-231F-4A43-92B6-E87193C60ACC}.Release|x64.ActiveCfg = Release|Win32
|
||||||
|
{1968162C-0793-491D-91A1-81645A24D399}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{1968162C-0793-491D-91A1-81645A24D399}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{1968162C-0793-491D-91A1-81645A24D399}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{1968162C-0793-491D-91A1-81645A24D399}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{1968162C-0793-491D-91A1-81645A24D399}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{1968162C-0793-491D-91A1-81645A24D399}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{1968162C-0793-491D-91A1-81645A24D399}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{1968162C-0793-491D-91A1-81645A24D399}.Release|x64.Build.0 = Release|x64
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
|
|
@ -38,6 +38,9 @@
|
||||||
<Link>
|
<Link>
|
||||||
<AdditionalDependencies>dsound.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>dsound.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
</Link>
|
</Link>
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"$(SolutionDir)Source\Script\UpdateVersion.cmd" "$(Configuration)" "$(SolutionDir)Source\Project64-audio\Version.h.in" "$(SolutionDir)Source\Project64-audio\Version.h"</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="AudioMain.cpp" />
|
<ClCompile Include="AudioMain.cpp" />
|
||||||
|
|
|
@ -14,7 +14,8 @@
|
||||||
#define VERSION_MAJOR 1
|
#define VERSION_MAJOR 1
|
||||||
#define VERSION_MINOR 0
|
#define VERSION_MINOR 0
|
||||||
#define VERSION_REVISION 1
|
#define VERSION_REVISION 1
|
||||||
#define VERSION_BUILD 9999
|
#define VERSION_BUILD 594
|
||||||
|
#define GIT_VERSION "g169f9d9-dirty"
|
||||||
|
|
||||||
#define VER_FILE_DESCRIPTION_STR "Project64-audio"
|
#define VER_FILE_DESCRIPTION_STR "Project64-audio"
|
||||||
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
|
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
|
||||||
|
@ -22,6 +23,7 @@
|
||||||
"." STRINGIZE(VERSION_MINOR) \
|
"." STRINGIZE(VERSION_MINOR) \
|
||||||
"." STRINGIZE(VERSION_REVISION) \
|
"." STRINGIZE(VERSION_REVISION) \
|
||||||
"." STRINGIZE(VERSION_BUILD) \
|
"." STRINGIZE(VERSION_BUILD) \
|
||||||
|
"-" GIT_VERSION
|
||||||
|
|
||||||
#define VER_PRODUCTNAME_STR "Project64-audio"
|
#define VER_PRODUCTNAME_STR "Project64-audio"
|
||||||
#define VER_PRODUCT_VERSION VER_FILE_VERSION
|
#define VER_PRODUCT_VERSION VER_FILE_VERSION
|
||||||
|
|
|
@ -0,0 +1,43 @@
|
||||||
|
/****************************************************************************
|
||||||
|
* *
|
||||||
|
* Project64-audio - A Nintendo 64 audio plugin. *
|
||||||
|
* http://www.pj64-emu.com/ *
|
||||||
|
* Copyright (C) 2017 Project64. All rights reserved. *
|
||||||
|
* *
|
||||||
|
* License: *
|
||||||
|
* GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html *
|
||||||
|
* *
|
||||||
|
****************************************************************************/
|
||||||
|
#define STRINGIZE2(s) #s
|
||||||
|
#define STRINGIZE(s) STRINGIZE2(s)
|
||||||
|
|
||||||
|
#define VERSION_MAJOR 1
|
||||||
|
#define VERSION_MINOR 0
|
||||||
|
#define VERSION_REVISION 1
|
||||||
|
#define VERSION_BUILD 9999
|
||||||
|
#define GIT_VERSION ""
|
||||||
|
|
||||||
|
#define VER_FILE_DESCRIPTION_STR "Project64-audio"
|
||||||
|
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
|
||||||
|
#define VER_FILE_VERSION_STR STRINGIZE(VERSION_MAJOR) \
|
||||||
|
"." STRINGIZE(VERSION_MINOR) \
|
||||||
|
"." STRINGIZE(VERSION_REVISION) \
|
||||||
|
"." STRINGIZE(VERSION_BUILD) \
|
||||||
|
"-" GIT_VERSION
|
||||||
|
|
||||||
|
#define VER_PRODUCTNAME_STR "Project64-audio"
|
||||||
|
#define VER_PRODUCT_VERSION VER_FILE_VERSION
|
||||||
|
#define VER_PRODUCT_VERSION_STR VER_FILE_VERSION_STR
|
||||||
|
#define VER_ORIGINAL_FILENAME_STR VER_PRODUCTNAME_STR ".dll"
|
||||||
|
#define VER_INTERNAL_NAME_STR VER_PRODUCTNAME_STR
|
||||||
|
#define VER_COPYRIGHT_STR "Copyright (C) 2017"
|
||||||
|
|
||||||
|
#ifdef _DEBUG
|
||||||
|
#define VER_VER_DEBUG VS_FF_DEBUG
|
||||||
|
#else
|
||||||
|
#define VER_VER_DEBUG 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define VER_FILEOS VOS_NT_WINDOWS32
|
||||||
|
#define VER_FILEFLAGS VER_VER_DEBUG
|
||||||
|
#define VER_FILETYPE VFT_DLL
|
|
@ -31,6 +31,11 @@
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ItemDefinitionGroup>
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>"$(SolutionDir)Source\Script\UpdateVersion.cmd" "$(Configuration)" "$(SolutionDir)Source\Project64-core\Version.h.in" "$(SolutionDir)Source\Project64-core\Version.h"</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="3rdParty\7zip.cpp">
|
<ClCompile Include="3rdParty\7zip.cpp">
|
||||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||||
|
|
|
@ -539,9 +539,6 @@
|
||||||
<ClInclude Include="N64System\Recompiler\SectionInfo.h">
|
<ClInclude Include="N64System\Recompiler\SectionInfo.h">
|
||||||
<Filter>Header Files\N64 System\Recompiler</Filter>
|
<Filter>Header Files\N64 System\Recompiler</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="N64System\Recompiler\X86ops.h">
|
|
||||||
<Filter>Header Files\N64 System\Recompiler</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="N64System\Mips\Audio.h">
|
<ClInclude Include="N64System\Mips\Audio.h">
|
||||||
<Filter>Header Files\N64 System\Mips</Filter>
|
<Filter>Header Files\N64 System\Mips</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
|
|
@ -20,7 +20,8 @@
|
||||||
#define VERSION_MINOR 4
|
#define VERSION_MINOR 4
|
||||||
#define VERSION_REVISION 0
|
#define VERSION_REVISION 0
|
||||||
#endif
|
#endif
|
||||||
#define VERSION_BUILD 9999
|
#define VERSION_BUILD 594
|
||||||
|
#define GIT_VERSION "g169f9d9-dirty"
|
||||||
|
|
||||||
#define VER_FILE_DESCRIPTION_STR "Project64"
|
#define VER_FILE_DESCRIPTION_STR "Project64"
|
||||||
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
|
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
|
||||||
|
@ -28,6 +29,7 @@
|
||||||
"." STRINGIZE(VERSION_MINOR) \
|
"." STRINGIZE(VERSION_MINOR) \
|
||||||
"." STRINGIZE(VERSION_REVISION) \
|
"." STRINGIZE(VERSION_REVISION) \
|
||||||
"." STRINGIZE(VERSION_BUILD) \
|
"." STRINGIZE(VERSION_BUILD) \
|
||||||
|
"-" GIT_VERSION
|
||||||
|
|
||||||
#define VER_PRODUCTNAME_STR "Project64"
|
#define VER_PRODUCTNAME_STR "Project64"
|
||||||
#define VER_PRODUCT_VERSION VER_FILE_VERSION
|
#define VER_PRODUCT_VERSION VER_FILE_VERSION
|
||||||
|
|
|
@ -0,0 +1,49 @@
|
||||||
|
/****************************************************************************
|
||||||
|
* *
|
||||||
|
* Project64 - A Nintendo 64 emulator. *
|
||||||
|
* http://www.pj64-emu.com/ *
|
||||||
|
* Copyright (C) 2012 Project64. All rights reserved. *
|
||||||
|
* *
|
||||||
|
* License: *
|
||||||
|
* GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html *
|
||||||
|
* *
|
||||||
|
****************************************************************************/
|
||||||
|
#define STRINGIZE2(s) #s
|
||||||
|
#define STRINGIZE(s) STRINGIZE2(s)
|
||||||
|
|
||||||
|
#ifdef ANDROID
|
||||||
|
#define VERSION_MAJOR 2
|
||||||
|
#define VERSION_MINOR 3
|
||||||
|
#define VERSION_REVISION 3
|
||||||
|
#else
|
||||||
|
#define VERSION_MAJOR 2
|
||||||
|
#define VERSION_MINOR 4
|
||||||
|
#define VERSION_REVISION 0
|
||||||
|
#endif
|
||||||
|
#define VERSION_BUILD 9999
|
||||||
|
#define GIT_VERSION ""
|
||||||
|
|
||||||
|
#define VER_FILE_DESCRIPTION_STR "Project64"
|
||||||
|
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
|
||||||
|
#define VER_FILE_VERSION_STR STRINGIZE(VERSION_MAJOR) \
|
||||||
|
"." STRINGIZE(VERSION_MINOR) \
|
||||||
|
"." STRINGIZE(VERSION_REVISION) \
|
||||||
|
"." STRINGIZE(VERSION_BUILD) \
|
||||||
|
"-" GIT_VERSION
|
||||||
|
|
||||||
|
#define VER_PRODUCTNAME_STR "Project64"
|
||||||
|
#define VER_PRODUCT_VERSION VER_FILE_VERSION
|
||||||
|
#define VER_PRODUCT_VERSION_STR VER_FILE_VERSION_STR
|
||||||
|
#define VER_ORIGINAL_FILENAME_STR VER_PRODUCTNAME_STR ".exe"
|
||||||
|
#define VER_INTERNAL_NAME_STR VER_PRODUCTNAME_STR
|
||||||
|
#define VER_COPYRIGHT_STR "Copyright (C) 2017"
|
||||||
|
|
||||||
|
#ifdef _DEBUG
|
||||||
|
#define VER_VER_DEBUG VS_FF_DEBUG
|
||||||
|
#else
|
||||||
|
#define VER_VER_DEBUG 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define VER_FILEOS VOS_NT_WINDOWS32
|
||||||
|
#define VER_FILEFLAGS VER_VER_DEBUG
|
||||||
|
#define VER_FILETYPE VFT_APP
|
|
@ -45,6 +45,9 @@
|
||||||
<PreprocessorDefinitions Condition="'$(Configuration)'=='Debug'">RDP_LOGGING;RDP_ERROR_LOG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions Condition="'$(Configuration)'=='Debug'">RDP_LOGGING;RDP_ERROR_LOG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<PrecompiledHeader />
|
<PrecompiledHeader />
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"$(SolutionDir)Source\Script\UpdateVersion.cmd" "$(Configuration)" "$(SolutionDir)Source\Project64-video\Version.h.in" "$(SolutionDir)Source\Project64-video\Version.h"</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="F3DTEXA.h" />
|
<ClInclude Include="F3DTEXA.h" />
|
||||||
|
|
|
@ -17,7 +17,8 @@
|
||||||
#define VERSION_MAJOR 2
|
#define VERSION_MAJOR 2
|
||||||
#define VERSION_MINOR 2
|
#define VERSION_MINOR 2
|
||||||
#define VERSION_REVISION 0
|
#define VERSION_REVISION 0
|
||||||
#define VERSION_BUILD 9999
|
#define VERSION_BUILD 594
|
||||||
|
#define GIT_VERSION "g169f9d9-dirty"
|
||||||
|
|
||||||
#define VER_FILE_DESCRIPTION_STR "Project64-video"
|
#define VER_FILE_DESCRIPTION_STR "Project64-video"
|
||||||
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
|
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
|
||||||
|
@ -25,6 +26,7 @@
|
||||||
"." STRINGIZE(VERSION_MINOR) \
|
"." STRINGIZE(VERSION_MINOR) \
|
||||||
"." STRINGIZE(VERSION_REVISION) \
|
"." STRINGIZE(VERSION_REVISION) \
|
||||||
"." STRINGIZE(VERSION_BUILD) \
|
"." STRINGIZE(VERSION_BUILD) \
|
||||||
|
"-" GIT_VERSION
|
||||||
|
|
||||||
#define VER_PRODUCTNAME_STR "Project64-video"
|
#define VER_PRODUCTNAME_STR "Project64-video"
|
||||||
#define VER_PRODUCT_VERSION VER_FILE_VERSION
|
#define VER_PRODUCT_VERSION VER_FILE_VERSION
|
||||||
|
|
|
@ -0,0 +1,46 @@
|
||||||
|
/***************************************************************************
|
||||||
|
* *
|
||||||
|
* Project64-video - A Nintendo 64 gfx plugin. *
|
||||||
|
* http://www.pj64-emu.com/ *
|
||||||
|
* Copyright (C) 2017 Project64. All rights reserved. *
|
||||||
|
* Copyright (C) 2003-2009 Sergey 'Gonetz' Lipski *
|
||||||
|
* Copyright (C) 2002 Dave2001 *
|
||||||
|
* *
|
||||||
|
* License: *
|
||||||
|
* GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html *
|
||||||
|
* version 2 of the License, or (at your option) any later version. *
|
||||||
|
* *
|
||||||
|
****************************************************************************/
|
||||||
|
#define STRINGIZE2(s) #s
|
||||||
|
#define STRINGIZE(s) STRINGIZE2(s)
|
||||||
|
|
||||||
|
#define VERSION_MAJOR 2
|
||||||
|
#define VERSION_MINOR 2
|
||||||
|
#define VERSION_REVISION 0
|
||||||
|
#define VERSION_BUILD 9999
|
||||||
|
#define GIT_VERSION ""
|
||||||
|
|
||||||
|
#define VER_FILE_DESCRIPTION_STR "Project64-video"
|
||||||
|
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
|
||||||
|
#define VER_FILE_VERSION_STR STRINGIZE(VERSION_MAJOR) \
|
||||||
|
"." STRINGIZE(VERSION_MINOR) \
|
||||||
|
"." STRINGIZE(VERSION_REVISION) \
|
||||||
|
"." STRINGIZE(VERSION_BUILD) \
|
||||||
|
"-" GIT_VERSION
|
||||||
|
|
||||||
|
#define VER_PRODUCTNAME_STR "Project64-video"
|
||||||
|
#define VER_PRODUCT_VERSION VER_FILE_VERSION
|
||||||
|
#define VER_PRODUCT_VERSION_STR VER_FILE_VERSION_STR
|
||||||
|
#define VER_ORIGINAL_FILENAME_STR VER_PRODUCTNAME_STR ".dll"
|
||||||
|
#define VER_INTERNAL_NAME_STR VER_PRODUCTNAME_STR
|
||||||
|
#define VER_COPYRIGHT_STR "Copyright (C) 2017"
|
||||||
|
|
||||||
|
#ifdef _DEBUG
|
||||||
|
#define VER_VER_DEBUG VS_FF_DEBUG
|
||||||
|
#else
|
||||||
|
#define VER_VER_DEBUG 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define VER_FILEOS VOS_NT_WINDOWS32
|
||||||
|
#define VER_FILEFLAGS VER_VER_DEBUG
|
||||||
|
#define VER_FILETYPE VFT_DLL
|
|
@ -63,6 +63,10 @@
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<OmitFramePointers Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</OmitFramePointers>
|
<OmitFramePointers Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</OmitFramePointers>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="main.cpp" />
|
<ClCompile Include="main.cpp" />
|
||||||
|
|
|
@ -601,7 +601,6 @@
|
||||||
#define IDC_DD40_EDIT 1442
|
#define IDC_DD40_EDIT 1442
|
||||||
#define IDC_DD44_EDIT 1443
|
#define IDC_DD44_EDIT 1443
|
||||||
#define IDC_DD48_EDIT 1444
|
#define IDC_DD48_EDIT 1444
|
||||||
#define VERSION_BUILD 9999
|
|
||||||
#define ID_POPUP_SHOWINMEMORYVIEWER 40005
|
#define ID_POPUP_SHOWINMEMORYVIEWER 40005
|
||||||
#define ID_POPUPMENU_PLAYGAMEWITHDISK 40008
|
#define ID_POPUPMENU_PLAYGAMEWITHDISK 40008
|
||||||
#define ID_POPUPMENU_ADDSYMBOL 40013
|
#define ID_POPUPMENU_ADDSYMBOL 40013
|
||||||
|
|
|
@ -45,6 +45,9 @@
|
||||||
<Bscmake>
|
<Bscmake>
|
||||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
</Bscmake>
|
</Bscmake>
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"$(SolutionDir)Source\Script\UpdateVersion.cmd" "$(Configuration)" "$(SolutionDir)Source\RSP\Version.h.in" "$(SolutionDir)Source\RSP\Version.h"</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="breakpoint.c" />
|
<ClCompile Include="breakpoint.c" />
|
||||||
|
|
|
@ -30,7 +30,8 @@
|
||||||
#define VERSION_MAJOR 1
|
#define VERSION_MAJOR 1
|
||||||
#define VERSION_MINOR 7
|
#define VERSION_MINOR 7
|
||||||
#define VERSION_REVISION 4
|
#define VERSION_REVISION 4
|
||||||
#define VERSION_BUILD 9999
|
#define VERSION_BUILD 594
|
||||||
|
#define GIT_VERSION "g169f9d9-dirty"
|
||||||
|
|
||||||
#define VER_FILE_DESCRIPTION_STR "RSP emulation Plugin"
|
#define VER_FILE_DESCRIPTION_STR "RSP emulation Plugin"
|
||||||
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
|
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
|
||||||
|
@ -38,6 +39,7 @@
|
||||||
"." STRINGIZE(VERSION_MINOR) \
|
"." STRINGIZE(VERSION_MINOR) \
|
||||||
"." STRINGIZE(VERSION_REVISION) \
|
"." STRINGIZE(VERSION_REVISION) \
|
||||||
"." STRINGIZE(VERSION_BUILD) \
|
"." STRINGIZE(VERSION_BUILD) \
|
||||||
|
"-" GIT_VERSION
|
||||||
|
|
||||||
#define VER_PRODUCTNAME_STR "RSP"
|
#define VER_PRODUCTNAME_STR "RSP"
|
||||||
#define VER_PRODUCT_VERSION VER_FILE_VERSION
|
#define VER_PRODUCT_VERSION VER_FILE_VERSION
|
||||||
|
|
|
@ -0,0 +1,59 @@
|
||||||
|
/*
|
||||||
|
* RSP Compiler plug in for Project64 (A Nintendo 64 emulator).
|
||||||
|
*
|
||||||
|
* (c) Copyright 2001 jabo (jabo@emulation64.com) and
|
||||||
|
* zilmar (zilmar@emulation64.com)
|
||||||
|
*
|
||||||
|
* pj64 homepage: www.pj64.net
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify and distribute Project64 in both binary and
|
||||||
|
* source form, for non-commercial purposes, is hereby granted without fee,
|
||||||
|
* providing that this license information and copyright notice appear with
|
||||||
|
* all copies and any derived work.
|
||||||
|
*
|
||||||
|
* This software is provided 'as-is', without any express or implied
|
||||||
|
* warranty. In no event shall the authors be held liable for any damages
|
||||||
|
* arising from the use of this software.
|
||||||
|
*
|
||||||
|
* Project64 is freeware for PERSONAL USE only. Commercial users should
|
||||||
|
* seek permission of the copyright holders first. Commercial use includes
|
||||||
|
* charging money for Project64 or software derived from Project64.
|
||||||
|
*
|
||||||
|
* The copyright holders request that bug fixes and improvements to the code
|
||||||
|
* should be forwarded to them so if they want them.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define STRINGIZE2(s) #s
|
||||||
|
#define STRINGIZE(s) STRINGIZE2(s)
|
||||||
|
|
||||||
|
#define VERSION_MAJOR 1
|
||||||
|
#define VERSION_MINOR 7
|
||||||
|
#define VERSION_REVISION 4
|
||||||
|
#define VERSION_BUILD 9999
|
||||||
|
#define GIT_VERSION ""
|
||||||
|
|
||||||
|
#define VER_FILE_DESCRIPTION_STR "RSP emulation Plugin"
|
||||||
|
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
|
||||||
|
#define VER_FILE_VERSION_STR STRINGIZE(VERSION_MAJOR) \
|
||||||
|
"." STRINGIZE(VERSION_MINOR) \
|
||||||
|
"." STRINGIZE(VERSION_REVISION) \
|
||||||
|
"." STRINGIZE(VERSION_BUILD) \
|
||||||
|
"-" GIT_VERSION
|
||||||
|
|
||||||
|
#define VER_PRODUCTNAME_STR "RSP"
|
||||||
|
#define VER_PRODUCT_VERSION VER_FILE_VERSION
|
||||||
|
#define VER_PRODUCT_VERSION_STR VER_FILE_VERSION_STR
|
||||||
|
#define VER_ORIGINAL_FILENAME_STR VER_PRODUCTNAME_STR ".dll"
|
||||||
|
#define VER_INTERNAL_NAME_STR VER_PRODUCTNAME_STR
|
||||||
|
#define VER_COPYRIGHT_STR "Copyright (C) 2017"
|
||||||
|
|
||||||
|
#ifdef _DEBUG
|
||||||
|
#define VER_VER_DEBUG VS_FF_DEBUG
|
||||||
|
#else
|
||||||
|
#define VER_VER_DEBUG 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define VER_FILEOS VOS_NT_WINDOWS32
|
||||||
|
#define VER_FILEFLAGS VER_VER_DEBUG
|
||||||
|
#define VER_FILETYPE VFT_DLL
|
|
@ -6,52 +6,16 @@ cd /d %~dp0..\..
|
||||||
set base_dir=%cd%
|
set base_dir=%cd%
|
||||||
cd /d %origdir%
|
cd /d %origdir%
|
||||||
|
|
||||||
|
if "%~3"=="" (
|
||||||
if exist "C:\Program Files\Git\usr\bin\sed.exe" ( set SED="C:\Program Files\Git\usr\bin\sed.exe")
|
echo Usage: UpdateVersion.cmd [BuildMode] [InFile] [OutFile]
|
||||||
if exist "C:\Program Files (x86)\Git\bin\sed.exe" ( set SED="C:\Program Files (x86)\Git\bin\sed.exe")
|
goto :eof
|
||||||
|
|
||||||
if %SED% == "" (
|
|
||||||
echo can not find sed.exe
|
|
||||||
goto :end
|
|
||||||
)
|
)
|
||||||
|
|
||||||
SETLOCAL EnableDelayedExpansion
|
if not "%1" == "" set BuildMode=%~1
|
||||||
FOR /F "tokens=1 delims=" %%A in ('git describe --tags --long') do SET current_tag=%%A
|
if not "%~2" == "" set InFile="%~2"
|
||||||
FOR /F "tokens=1 delims=" %%A in ('echo !current_tag! ^| !sed! "s/v[0-9]*\.[0-9]*\.[0-9]*-\([0-9]*\).*/\1/"') do SET commits_since_tag=%%A
|
if not "%~3" == "" set OutFile="%~3"
|
||||||
|
|
||||||
call :setVersion "%base_dir%\Source\Project64-core\version.h" !commits_since_tag!
|
FOR /F "tokens=1 delims=" %%A in ('git describe --tags --long --dirty') do SET current_tag=%%A
|
||||||
call :setVersion "%base_dir%\Source\nragev20\version.h" !commits_since_tag!
|
|
||||||
call :setVersion "%base_dir%\Source\RSP\version.h" !commits_since_tag!
|
|
||||||
call :setVersion "%base_dir%\Source\Project64-video\version.h" !commits_since_tag!
|
|
||||||
call :setVersion "%base_dir%\Source\Project64-audio\version.h" !commits_since_tag!
|
|
||||||
|
|
||||||
ENDLOCAL
|
"%base_dir%\Bin\%BuildMode%\UpdateVersion.exe" %InFile% %OutFile% "%current_tag%"
|
||||||
|
|
||||||
goto :eof
|
|
||||||
|
|
||||||
:setVersion
|
|
||||||
set version_file=%~1
|
|
||||||
set out_file=%~1.out
|
|
||||||
set build_no=%~2
|
|
||||||
|
|
||||||
if exist "%out_file%" del "%out_file%"
|
|
||||||
|
|
||||||
SETLOCAL DisableDelayedExpansion
|
|
||||||
FOR /F "usebackq delims=" %%a in (`"findstr /n ^^ "%version_file%""`) do (
|
|
||||||
set "line=%%a"
|
|
||||||
SETLOCAL EnableDelayedExpansion
|
|
||||||
set "line=!line:9999=%build_no%!"
|
|
||||||
set "line=!line:*:=!"
|
|
||||||
echo(!line!>>!out_file!
|
|
||||||
ENDLOCAL
|
|
||||||
)
|
|
||||||
ENDLOCAL
|
|
||||||
|
|
||||||
if exist "%out_file%" (
|
|
||||||
if exist "%version_file%" (
|
|
||||||
del "%version_file%"
|
|
||||||
move "%out_file%" "%version_file%"
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
goto :eof
|
|
||||||
|
|
|
@ -0,0 +1,73 @@
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <memory>
|
||||||
|
#include <Common\path.h>
|
||||||
|
#include <Common\FileClass.h>
|
||||||
|
#include <Common\StdString.h>
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
if (__argc < 4)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
CPath SourceFile(__argv[1]), DestFile(__argv[2]);
|
||||||
|
if (!SourceFile.Exists())
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (DestFile.Exists())
|
||||||
|
{
|
||||||
|
if (!DestFile.Delete())
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
CFile InFile(SourceFile, CFileBase::modeRead);
|
||||||
|
if (!InFile.IsOpen())
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
InFile.SeekToBegin();
|
||||||
|
uint32_t FileLen = InFile.GetLength();
|
||||||
|
std::auto_ptr<uint8_t> InputData(new uint8_t[FileLen]);
|
||||||
|
InFile.Read(InputData.get(), FileLen);
|
||||||
|
strvector VersionData = stdstr(std::string((char *)InputData.get(), FileLen)).Tokenize("\r\n");
|
||||||
|
|
||||||
|
strvector verinfo = stdstr(__argv[3]).Tokenize('-');
|
||||||
|
if (verinfo.size() < 3 || verinfo.size() > 4)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
if (verinfo.size() == 4)
|
||||||
|
{
|
||||||
|
verinfo[2] += "-" + verinfo[3];
|
||||||
|
}
|
||||||
|
|
||||||
|
CFile OutFile(DestFile, CFileBase::modeWrite | CFileBase::modeCreate);
|
||||||
|
if (!OutFile.IsOpen())
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
for (size_t i = 0, n = VersionData.size() - 1; i < n; i++)
|
||||||
|
{
|
||||||
|
stdstr &line = VersionData[i];
|
||||||
|
line += "\r\n";
|
||||||
|
if (_strnicmp(line.c_str(), "#define VERSION_BUILD", 21) == 0)
|
||||||
|
{
|
||||||
|
line = "#define VERSION_BUILD " + verinfo[1] + "\r\n";
|
||||||
|
}
|
||||||
|
if (_strnicmp(line.c_str(), "#define GIT_VERSION", 18) == 0)
|
||||||
|
{
|
||||||
|
line = "#define GIT_VERSION \"" + verinfo[2] + "\"\r\n";
|
||||||
|
}
|
||||||
|
if (!OutFile.Write(line.c_str(), line.length()))
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
|
@ -0,0 +1,48 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{1968162C-0793-491D-91A1-81645A24D399}</ProjectGuid>
|
||||||
|
<RootNamespace>UpdateVersion</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<ImportGroup Label="PropertySheets">
|
||||||
|
<Import Project="$(SolutionDir)PropertySheets\Platform.$(Configuration).props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ItemDefinitionGroup>
|
||||||
|
<ClCompile>
|
||||||
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="UpdateVersion.cpp" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\Common\Common.vcxproj">
|
||||||
|
<Project>{b4a4b994-9111-42b1-93c2-6f1ca8bc4421}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
|
@ -0,0 +1,22 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Source Files">
|
||||||
|
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||||
|
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Header Files">
|
||||||
|
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||||
|
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Resource Files">
|
||||||
|
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||||
|
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="UpdateVersion.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
|
@ -50,6 +50,9 @@
|
||||||
<AdditionalLibraryDirectories Condition="'$(Platform)'=='x64'">$(Root)Source\3rdParty\directx\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories Condition="'$(Platform)'=='x64'">$(Root)Source\3rdParty\directx\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
||||||
</Link>
|
</Link>
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"$(SolutionDir)Source\Script\UpdateVersion.cmd" "$(Configuration)" "$(SolutionDir)Source\nragev20\Version.h.in" "$(SolutionDir)Source\nragev20\Version.h"</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="Debug.cpp">
|
<ClCompile Include="Debug.cpp">
|
||||||
|
|
|
@ -26,7 +26,8 @@
|
||||||
#define VERSION_MAJOR 2
|
#define VERSION_MAJOR 2
|
||||||
#define VERSION_MINOR 5
|
#define VERSION_MINOR 5
|
||||||
#define VERSION_REVISION 3
|
#define VERSION_REVISION 3
|
||||||
#define VERSION_BUILD 9999
|
#define VERSION_BUILD 594
|
||||||
|
#define GIT_VERSION "g169f9d9-dirty"
|
||||||
|
|
||||||
#define VER_FILE_DESCRIPTION_STR "N-Rage for Project64"
|
#define VER_FILE_DESCRIPTION_STR "N-Rage for Project64"
|
||||||
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
|
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
|
||||||
|
@ -34,6 +35,7 @@
|
||||||
"." STRINGIZE(VERSION_MINOR) \
|
"." STRINGIZE(VERSION_MINOR) \
|
||||||
"." STRINGIZE(VERSION_REVISION) \
|
"." STRINGIZE(VERSION_REVISION) \
|
||||||
"." STRINGIZE(VERSION_BUILD) \
|
"." STRINGIZE(VERSION_BUILD) \
|
||||||
|
"-" GIT_VERSION
|
||||||
|
|
||||||
#define VER_PRODUCTNAME_STR "N-Rage"
|
#define VER_PRODUCTNAME_STR "N-Rage"
|
||||||
#define VER_PRODUCT_VERSION VER_FILE_VERSION
|
#define VER_PRODUCT_VERSION VER_FILE_VERSION
|
||||||
|
|
|
@ -0,0 +1,55 @@
|
||||||
|
/*
|
||||||
|
N-Rage`s Dinput8 Plugin
|
||||||
|
(C) 2002, 2006 Norbert Wladyka
|
||||||
|
|
||||||
|
Author`s Email: norbert.wladyka@chello.at
|
||||||
|
Website: http://go.to/nrage
|
||||||
|
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the free Software Foundation; either version 2 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to the free Software
|
||||||
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
#define STRINGIZE2(s) #s
|
||||||
|
#define STRINGIZE(s) STRINGIZE2(s)
|
||||||
|
|
||||||
|
#define VERSION_MAJOR 2
|
||||||
|
#define VERSION_MINOR 5
|
||||||
|
#define VERSION_REVISION 3
|
||||||
|
#define VERSION_BUILD 9999
|
||||||
|
#define GIT_VERSION ""
|
||||||
|
|
||||||
|
#define VER_FILE_DESCRIPTION_STR "N-Rage for Project64"
|
||||||
|
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
|
||||||
|
#define VER_FILE_VERSION_STR STRINGIZE(VERSION_MAJOR) \
|
||||||
|
"." STRINGIZE(VERSION_MINOR) \
|
||||||
|
"." STRINGIZE(VERSION_REVISION) \
|
||||||
|
"." STRINGIZE(VERSION_BUILD) \
|
||||||
|
"-" GIT_VERSION
|
||||||
|
|
||||||
|
#define VER_PRODUCTNAME_STR "N-Rage"
|
||||||
|
#define VER_PRODUCT_VERSION VER_FILE_VERSION
|
||||||
|
#define VER_PRODUCT_VERSION_STR VER_FILE_VERSION_STR
|
||||||
|
#define VER_ORIGINAL_FILENAME_STR VER_PRODUCTNAME_STR ".dll"
|
||||||
|
#define VER_INTERNAL_NAME_STR VER_PRODUCTNAME_STR
|
||||||
|
#define VER_COPYRIGHT_STR "Copyright (C) 2017"
|
||||||
|
|
||||||
|
#ifdef _DEBUG
|
||||||
|
#define VER_VER_DEBUG VS_FF_DEBUG
|
||||||
|
#else
|
||||||
|
#define VER_VER_DEBUG 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define VER_FILEOS VOS_NT_WINDOWS32
|
||||||
|
#define VER_FILEFLAGS VER_VER_DEBUG
|
||||||
|
#define VER_FILETYPE VFT_DLL
|
Loading…
Reference in New Issue