diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-03-24 18:45:43 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-03-24 18:45:43 +0300 |
commit | b42c3b29e99b88aae6316e3ec62c5c7d56238be6 (patch) | |
tree | ea0c5289116890c95d056b41d67c1ff410cef28e /src/apps | |
parent | aa8d08ae2e9850c89775d975867b16690c09ac29 (diff) |
added SubWCRev
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1766 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps')
-rw-r--r-- | src/apps/mplayerc/mplayerc.vcproj | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/apps/mplayerc/mplayerc.vcproj b/src/apps/mplayerc/mplayerc.vcproj index 324fcc54f..cb1f21d62 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. >>..\..\..\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
"
+ CommandLine="..\..\..\include\SubWCRev.exe ..\..\.. ..\..\..\include\SubWCRev.conf ..\..\..\include\Version.h
IF %ERRORLEVEL%==6 GOTO :NoSubWCRev
IF %ERRORLEVEL%==10 GOTO :NoSubWCRev
GOTO :EOF

:NoSubWCRev
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 3 >>..\..\..\include\Version.h
ECHO #define VERSION_REV 666 >>..\..\..\include\Version.h
ECHO #define VERSION_PATCH 0 >>..\..\..\include\Version.h
GOTO :EOF"
/>
<Tool
Name="VCCustomBuildTool"
@@ -124,7 +124,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. >>..\..\..\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
"
+ CommandLine="..\..\..\include\SubWCRev.exe ..\..\.. ..\..\..\include\SubWCRev.conf ..\..\..\include\Version.h
IF %ERRORLEVEL%==6 GOTO :NoSubWCRev
IF %ERRORLEVEL%==10 GOTO :NoSubWCRev
GOTO :EOF

:NoSubWCRev
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 3 >>..\..\..\include\Version.h
ECHO #define VERSION_REV 666 >>..\..\..\include\Version.h
ECHO #define VERSION_PATCH 0 >>..\..\..\include\Version.h
GOTO :EOF"
/>
<Tool
Name="VCCustomBuildTool"
@@ -215,7 +215,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. >>..\..\..\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
"
+ CommandLine="..\..\..\include\SubWCRev.exe ..\..\.. ..\..\..\include\SubWCRev.conf ..\..\..\include\Version.h
IF %ERRORLEVEL%==6 GOTO :NoSubWCRev
IF %ERRORLEVEL%==10 GOTO :NoSubWCRev
GOTO :EOF

:NoSubWCRev
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 3 >>..\..\..\include\Version.h
ECHO #define VERSION_REV 666 >>..\..\..\include\Version.h
ECHO #define VERSION_PATCH 0 >>..\..\..\include\Version.h
GOTO :EOF"
/>
<Tool
Name="VCCustomBuildTool"
@@ -302,7 +302,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. >>..\..\..\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
"
+ CommandLine="..\..\..\include\SubWCRev.exe ..\..\.. ..\..\..\include\SubWCRev.conf ..\..\..\include\Version.h
IF %ERRORLEVEL%==6 GOTO :NoSubWCRev
IF %ERRORLEVEL%==10 GOTO :NoSubWCRev
GOTO :EOF

:NoSubWCRev
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 3 >>..\..\..\include\Version.h
ECHO #define VERSION_REV 666 >>..\..\..\include\Version.h
ECHO #define VERSION_PATCH 0 >>..\..\..\include\Version.h
GOTO :EOF"
/>
<Tool
Name="VCCustomBuildTool"
|