Update pj64-audio
This commit is contained in:
parent
d90075f200
commit
f0cb7298e6
|
@ -95,7 +95,6 @@ Thumbs.db
|
||||||
/Plugin64/RSP/RSP-HLE.dll
|
/Plugin64/RSP/RSP-HLE.dll
|
||||||
/Save
|
/Save
|
||||||
/Source/nragev20/Version.h
|
/Source/nragev20/Version.h
|
||||||
/Source/Project64-audio/Version.h
|
|
||||||
/Source/Project64-core/Version.h
|
/Source/Project64-core/Version.h
|
||||||
/Source/Project64-input/Version.h
|
/Source/Project64-input/Version.h
|
||||||
/Source/Project64-video/Version.h
|
/Source/Project64-video/Version.h
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Configuration">
|
<PropertyGroup Label="Configuration">
|
||||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<NeedsVersioning>true</NeedsVersioning>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
<ImportGroup Label="PropertySheets">
|
<ImportGroup Label="PropertySheets">
|
||||||
|
@ -47,7 +48,7 @@
|
||||||
<AdditionalDependencies>dsound.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>dsound.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
</Link>
|
</Link>
|
||||||
<PreBuildEvent>
|
<PreBuildEvent>
|
||||||
<Command>"$(SolutionDir)Source\Script\UpdateVersion.cmd" "$(Configuration)" "$(Platform)" "$(SolutionDir)Source\Project64-audio\Version.h.in" "$(SolutionDir)Source\Project64-audio\Version.h"</Command>
|
<!-- <Command>"$(SolutionDir)Source\Script\UpdateVersion.cmd" "$(Configuration)" "$(Platform)" "$(SolutionDir)Source\Project64-audio\Version.h.in" "$(SolutionDir)Source\Project64-audio\Version.h"</Command> -->
|
||||||
</PreBuildEvent>
|
</PreBuildEvent>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
@ -0,0 +1,59 @@
|
||||||
|
#define STRINGIZE2(s) #s
|
||||||
|
#define STRINGIZE(s) STRINGIZE2(s)
|
||||||
|
|
||||||
|
#ifndef VERSION_MAJOR
|
||||||
|
#define VERSION_MAJOR 4
|
||||||
|
#endif
|
||||||
|
#ifndef VERSION_MINOR
|
||||||
|
#define VERSION_MINOR 0
|
||||||
|
#endif
|
||||||
|
#ifndef VERSION_REVISION
|
||||||
|
#define VERSION_REVISION 0
|
||||||
|
#endif
|
||||||
|
#ifndef VERSION_BUILD
|
||||||
|
#define VERSION_BUILD 9999
|
||||||
|
#endif
|
||||||
|
#ifndef VERSION_PREFIX
|
||||||
|
#define VERSION_PREFIX "Dev-"
|
||||||
|
#endif
|
||||||
|
#ifndef VERSION_BUILD_YEAR
|
||||||
|
#define VERSION_BUILD_YEAR 2022
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef GIT_REVISION
|
||||||
|
#define GIT_REVISION ""
|
||||||
|
#endif
|
||||||
|
#ifndef GIT_REVISION_SHORT
|
||||||
|
#define GIT_REVISION_SHORT ""
|
||||||
|
#endif
|
||||||
|
#ifndef GIT_DIRTY
|
||||||
|
#define GIT_DIRTY ""
|
||||||
|
#endif
|
||||||
|
#ifndef GIT_VERSION
|
||||||
|
#define GIT_VERSION "Unknown"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define VER_FILE_DESCRIPTION_STR "Project64-audio"
|
||||||
|
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
|
||||||
|
#define VER_FILE_VERSION_STR VERSION_PREFIX 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) " STRINGIZE(VERSION_BUILD_YEAR)
|
||||||
|
|
||||||
|
#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
|
|
@ -1,17 +1,37 @@
|
||||||
#define STRINGIZE2(s) #s
|
#define STRINGIZE2(s) #s
|
||||||
#define STRINGIZE(s) STRINGIZE2(s)
|
#define STRINGIZE(s) STRINGIZE2(s)
|
||||||
|
|
||||||
|
#ifndef VERSION_MAJOR
|
||||||
#define VERSION_MAJOR 4
|
#define VERSION_MAJOR 4
|
||||||
|
#endif
|
||||||
|
#ifndef VERSION_MINOR
|
||||||
#define VERSION_MINOR 0
|
#define VERSION_MINOR 0
|
||||||
|
#endif
|
||||||
|
#ifndef VERSION_REVISION
|
||||||
#define VERSION_REVISION 0
|
#define VERSION_REVISION 0
|
||||||
|
#endif
|
||||||
|
#ifndef VERSION_BUILD
|
||||||
#define VERSION_BUILD 9999
|
#define VERSION_BUILD 9999
|
||||||
|
#endif
|
||||||
|
#ifndef VERSION_PREFIX
|
||||||
#define VERSION_PREFIX "Dev-"
|
#define VERSION_PREFIX "Dev-"
|
||||||
|
#endif
|
||||||
|
#ifndef VERSION_BUILD_YEAR
|
||||||
#define VERSION_BUILD_YEAR 2022
|
#define VERSION_BUILD_YEAR 2022
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef GIT_REVISION
|
||||||
#define GIT_REVISION ""
|
#define GIT_REVISION ""
|
||||||
|
#endif
|
||||||
|
#ifndef GIT_REVISION_SHORT
|
||||||
#define GIT_REVISION_SHORT ""
|
#define GIT_REVISION_SHORT ""
|
||||||
|
#endif
|
||||||
|
#ifndef GIT_DIRTY
|
||||||
#define GIT_DIRTY ""
|
#define GIT_DIRTY ""
|
||||||
|
#endif
|
||||||
|
#ifndef GIT_VERSION
|
||||||
#define GIT_VERSION "Unknown"
|
#define GIT_VERSION "Unknown"
|
||||||
|
#endif
|
||||||
|
|
||||||
#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
|
||||||
|
|
Loading…
Reference in New Issue