aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiso <wiso@svn>2010-07-15 19:38:59 +0000
committerwiso <wiso@svn>2010-07-15 19:38:59 +0000
commit8b6e16548f3bba0f57e88676c5b67152663c37aa (patch)
treecbe1eb76621624f5cb3f07fe18aa32dddcedde72
parent6382247717ad5e9cc2e87e24bd408602c0f26dbe (diff)
[WIN32] fixed buildlog.html path and copy it to Win32BuildSetup directory for billy
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@31825 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r--project/Win32BuildSetup/BuildSetup.bat15
1 files changed, 10 insertions, 5 deletions
diff --git a/project/Win32BuildSetup/BuildSetup.bat b/project/Win32BuildSetup/BuildSetup.bat
index 579c4dfbe5..87a2b9b228 100644
--- a/project/Win32BuildSetup/BuildSetup.bat
+++ b/project/Win32BuildSetup/BuildSetup.bat
@@ -99,8 +99,10 @@ IF %comp%==vs2008 (
:EXE_COMPILE
IF %buildmode%==clean goto COMPILE_EXE
rem ---------------------------------------------
- rem check for existing xbe
+ rem check for existing exe
rem ---------------------------------------------
+ IF EXIST buildlog.html del buildlog.html /q
+
IF EXIST %EXE% (
goto EXE_EXIST
)
@@ -302,18 +304,21 @@ IF %comp%==vs2008 (
goto END
)
IF %comp%==vs2008 (
- SET log="%CD%\..\vs2008express\XBMC\%buildconfig%\BuildLog.htm"
+ SET log="%CD%\..\vs2008express\XBMC\%buildconfig%\objs\BuildLog.htm"
) ELSE (
- SET log="%CD%\..\vs2008express\XBMC\%buildconfig%\BuildLog.htm"
+ SET log="%CD%\..\vs2008express\XBMC\%buildconfig%\objs\BuildLog.htm"
)
IF NOT EXIST %log% goto END
+
+ copy %log% ./buildlog.html > NUL
+
set /P XBMC_BUILD_ANSWER=View the build log in your HTML browser? [y/n]
if /I %XBMC_BUILD_ANSWER% NEQ y goto END
IF %comp%==vs2008 (
- SET log="%CD%\..\vs2008express\XBMC\%buildconfig%" BuildLog.htm
+ SET log="%CD%\..\vs2008express\XBMC\%buildconfig%\objs\" BuildLog.htm
) ELSE (
- SET log="%CD%\..\vs2008express\XBMC\%buildconfig%" BuildLog.htm
+ SET log="%CD%\..\vs2008express\XBMC\%buildconfig%\objs\" BuildLog.htm
)
start /D%log%