diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-03-25 16:50:12 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-03-25 16:50:12 +0300 |
commit | fc15222eba563ec4d2623d49adfff82f3f91624a (patch) | |
tree | 1097407e9071cf9ab6171121c13dbb21b86c8b27 /src/apps | |
parent | b95c9e42e6c32520956d15b0b96316f5a1ec5462 (diff) |
reverted r1766
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1769 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 cb1f21d62..324fcc54f 100644 --- a/src/apps/mplayerc/mplayerc.vcproj +++ b/src/apps/mplayerc/mplayerc.vcproj @@ -31,7 +31,7 @@ >
<Tool
Name="VCPreBuildEventTool"
- 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"
+ 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"
@@ -124,7 +124,7 @@ >
<Tool
Name="VCPreBuildEventTool"
- 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"
+ 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"
@@ -215,7 +215,7 @@ >
<Tool
Name="VCPreBuildEventTool"
- 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"
+ 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"
@@ -302,7 +302,7 @@ >
<Tool
Name="VCPreBuildEventTool"
- 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"
+ 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"
|