diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2009-12-02 03:50:47 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2009-12-02 03:50:47 +0300 |
commit | a43f1a131606c00452789920bd2430aff8bfd35e (patch) | |
tree | f2622cfc1f4957b3b3525bef55487e4553ae97ef /src/apps/mplayerc/mplayerc.vcproj | |
parent | 3e9f875e60609b6ca845b801e1cd19664796cfa3 (diff) |
-Added automatic version for mpc-hc "ProductVersion" string
-Updated the "Copyright" string in VSFilter.rc and the "Comment" string in MPCVideoDecFilter.rc
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1375 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/mplayerc.vcproj')
-rw-r--r-- | src/apps/mplayerc/mplayerc.vcproj | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/apps/mplayerc/mplayerc.vcproj b/src/apps/mplayerc/mplayerc.vcproj index 14bcc81a6..f09e16594 100644 --- a/src/apps/mplayerc/mplayerc.vcproj +++ b/src/apps/mplayerc/mplayerc.vcproj @@ -31,7 +31,7 @@ >
<Tool
Name="VCPreBuildEventTool"
- CommandLine="if not exist "%programfiles%\TortoiseSVN\bin\SubWCRev.exe" goto x64
"%programfiles%\TortoiseSVN\bin\SubWCRev.exe" ..\..\.. ..\..\..\include\SubWCRev.conf ..\..\..\include\Version.h
goto End

:x64
if not exist "%ProgramW6432%\TortoiseSVN\bin\SubWCRev.exe" goto NoChrisWillem
"%ProgramW6432%\TortoiseSVN\bin\SubWCRev.exe" ..\..\.. ..\..\..\include\SubWCRev.conf ..\..\..\include\Version.h
goto End

:NoChrisWillem
echo #pragma once >..\..\..\include\Version.h
echo #define VERSION_MAJOR 1 >>..\..\..\include\Version.h
echo #define VERSION_MINOR 1 >>..\..\..\include\Version.h
echo #define VERSION_REV 666 >>..\..\..\include\Version.h
echo #define VERSION_PATCH 0 >>..\..\..\include\Version.h

:End
"
+ CommandLine="if not exist "%programfiles%\TortoiseSVN\bin\SubWCRev.exe" goto x64
"%programfiles%\TortoiseSVN\bin\SubWCRev.exe" ..\..\.. ..\..\..\include\SubWCRev.conf ..\..\..\include\Version.h
goto End

:x64
if not exist "%ProgramW6432%\TortoiseSVN\bin\SubWCRev.exe" goto NoChrisWillem
"%ProgramW6432%\TortoiseSVN\bin\SubWCRev.exe" ..\..\.. ..\..\..\include\SubWCRev.conf ..\..\..\include\Version.h
goto End

:NoChrisWillem
echo #pragma once >..\..\..\include\Version.h
echo. >>..\..\..\include\Version.h
echo #define DO_MAKE_STR(x) #x >>..\..\..\include\Version.h
echo #define MAKE_STR(x) DO_MAKE_STR(x) >>..\..\..\include\Version.h
echo. >>..\..\..\include\Version.h
echo #define VERSION_MAJOR 1 >>..\..\..\include\Version.h
echo #define VERSION_MINOR 1 >>..\..\..\include\Version.h
echo #define VERSION_REV 666 >>..\..\..\include\Version.h
echo #define VERSION_PATCH 0 >>..\..\..\include\Version.h

:End
"
/>
<Tool
Name="VCCustomBuildTool"
@@ -123,7 +123,7 @@ >
<Tool
Name="VCPreBuildEventTool"
- CommandLine="if not exist "%programfiles%\TortoiseSVN\bin\SubWCRev.exe" goto x64
"%programfiles%\TortoiseSVN\bin\SubWCRev.exe" ..\..\.. ..\..\..\include\SubWCRev.conf ..\..\..\include\Version.h
goto End

:x64
if not exist "%ProgramW6432%\TortoiseSVN\bin\SubWCRev.exe" goto NoChrisWillem
"%ProgramW6432%\TortoiseSVN\bin\SubWCRev.exe" ..\..\.. ..\..\..\include\SubWCRev.conf ..\..\..\include\Version.h
goto End

:NoChrisWillem
echo #pragma once >..\..\..\include\Version.h
echo #define VERSION_MAJOR 1 >>..\..\..\include\Version.h
echo #define VERSION_MINOR 1 >>..\..\..\include\Version.h
echo #define VERSION_REV 666 >>..\..\..\include\Version.h
echo #define VERSION_PATCH 0 >>..\..\..\include\Version.h

:End
"
+ CommandLine="if not exist "%programfiles%\TortoiseSVN\bin\SubWCRev.exe" goto x64
"%programfiles%\TortoiseSVN\bin\SubWCRev.exe" ..\..\.. ..\..\..\include\SubWCRev.conf ..\..\..\include\Version.h
goto End

:x64
if not exist "%ProgramW6432%\TortoiseSVN\bin\SubWCRev.exe" goto NoChrisWillem
"%ProgramW6432%\TortoiseSVN\bin\SubWCRev.exe" ..\..\.. ..\..\..\include\SubWCRev.conf ..\..\..\include\Version.h
goto End

:NoChrisWillem
echo #pragma once >..\..\..\include\Version.h
echo. >>..\..\..\include\Version.h
echo #define DO_MAKE_STR(x) #x >>..\..\..\include\Version.h
echo #define MAKE_STR(x) DO_MAKE_STR(x) >>..\..\..\include\Version.h
echo. >>..\..\..\include\Version.h
echo #define VERSION_MAJOR 1 >>..\..\..\include\Version.h
echo #define VERSION_MINOR 1 >>..\..\..\include\Version.h
echo #define VERSION_REV 666 >>..\..\..\include\Version.h
echo #define VERSION_PATCH 0 >>..\..\..\include\Version.h

:End
"
/>
<Tool
Name="VCCustomBuildTool"
|