Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version 0.2.0, major bug fixes and timer enhancements
- Loading branch information
Jörg Dembski
committed
Apr 20, 2012
1 parent
b0c16d5
commit 7b99259
Showing
11 changed files
with
310 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
@ECHO OFF | ||
CLS | ||
COLOR 1B | ||
TITLE XBMC Addon for VUPlus | ||
SET comp=vs2010 | ||
SET target=dx | ||
SET buildmode=ask | ||
SET promptlevel=prompt | ||
|
||
SET exitcode=0 | ||
FOR %%b in (%1, %2, %3, %4, %5) DO ( | ||
IF %%b==vs2010 SET comp=vs2010 | ||
IF %%b==dx SET target=dx | ||
IF %%b==gl SET target=gl | ||
IF %%b==clean SET buildmode=clean | ||
) | ||
|
||
SET buildconfig=Release (DirectX) | ||
IF %target%==gl SET buildconfig=Release (OpenGL) | ||
|
||
IF %comp%==vs2010 ( | ||
IF "%VS100COMNTOOLS%"=="" ( | ||
set NET="%ProgramFiles%\Microsoft Visual Studio 10.0\Common7\IDE\VCExpress.exe" | ||
) ELSE IF EXIST "%VS100COMNTOOLS%\..\IDE\VCExpress.exe" ( | ||
set NET="%VS100COMNTOOLS%\..\IDE\VCExpress.exe" | ||
) ELSE IF EXIST "%VS100COMNTOOLS%\..\IDE\devenv.exe" ( | ||
set NET="%VS100COMNTOOLS%\..\IDE\devenv.exe" | ||
) | ||
) | ||
|
||
IF NOT EXIST %NET% ( | ||
set DIETEXT=Visual Studio .NET 2010 Express was not found. | ||
goto DIE | ||
) | ||
|
||
set OPTS_EXE=xbmc-addon-vuplus.sln /build %buildconfig% | ||
set CLEAN_EXE=xbmc-addon-vuplus.sln /clean %buildconfig% | ||
|
||
|
||
ECHO Cleaning Solution... | ||
%NET% %CLEAN_EXE% | ||
ECHO Compiling Addon for XBMC... | ||
%NET% %OPTS_EXE% | ||
|
||
IF EXIST addons\pvr.vuplus\changelog.txt del addons\pvr.vuplus\changelog.txt > NUL | ||
IF EXIST addons\pvr.vuplus\addon.xml del addons\pvr.vuplus\addon.xml > NUL | ||
|
||
copy ChangeLog addons\pvr.vuplus\changelog.txt | ||
|
||
copy addons\pvr.vuplus\addon.xml.in addons\pvr.vuplus\addon.xml | ||
|
||
|
||
set ZIP="%ProgramFiles%\7-Zip\7z.exe" | ||
IF NOT EXIST %ZIP% ( | ||
set DIETEXT=7zip was not found. | ||
goto DIE | ||
) | ||
|
||
|
||
|
||
cd addons | ||
%ZIP% a pvr.vuplus.zip pvr.vuplus -xr!*.in -xr!*.am -xr!*.exp -xr!*.ilk | ||
move pvr.vuplus.zip ..\ | ||
cd .. | ||
goto END | ||
|
||
:DIE | ||
ECHO ------------------------------------------------------------ | ||
ECHO !-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!- | ||
ECHO ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR | ||
ECHO !-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!- | ||
set DIETEXT=ERROR: %DIETEXT% | ||
echo %DIETEXT% | ||
SET exitcode=1 | ||
ECHO ------------------------------------------------------------ | ||
|
||
:END | ||
IF %promptlevel% NEQ noprompt ( | ||
ECHO Press any key to exit... | ||
pause > NUL | ||
) | ||
EXIT /B %exitcode% | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.