/[pcsx2_0.9.7]/trunk/common/vsprops/preBuild.cmd
ViewVC logotype

Contents of /trunk/common/vsprops/preBuild.cmd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10 - (show annotations) (download)
Mon Sep 6 11:40:06 2010 UTC (9 years, 5 months ago) by william
File size: 756 byte(s)
exported r3113 from ./upstream/trunk
1 @echo off
2
3 :: Usage: preBuild.cmd ProjectSrcDir VspropsDir
4 ::
5 :: ProjectSrcDir - $(ProjectDir)\.. - Top-level Directory of project source code.
6
7 SETLOCAL ENABLEEXTENSIONS
8
9 set mydir=%~dp0
10 SubWCRev.exe "%~1" "%mydir%\svnrev_template.h" "%CD%\svnrev.h"
11 if %ERRORLEVEL% NEQ 0 (
12 echo Automatic revision update unavailable, using generic template instead.
13 echo You can safely ignore this message - see svnrev.h for details.
14 copy /Y "%mydir%\svnrev_unknown.h" "%CD%\svnrev.h"
15 copy /Y "%mydir%\postBuild.unknown" "%CD%\postBuild.cmd"
16 ) else (
17 SubWCRev.exe "%~1" "%mydir%\postBuild.tmpl" "%CD%\postBuild.cmd" > NUL
18 )
19
20 ENDLOCAL
21 :: Always return an errorlevel of 0 -- this allows compilation to continue if SubWCRev failed.
22 exit 0

  ViewVC Help
Powered by ViewVC 1.1.22