Reply to thread

Hi,


Well, the subject is a bit deceptive, but here's a little tutorial on how to compile MediaPortal with as little as possible pieces of software installed:


Get the software:

It would be easy if svn.exe is placed in a directory which is in the PATH variable, or add the directory where you put it into the PATH variable.


Initial checkout

[code]@echo off

c:

cd\

svn checkout https://svn.sourceforge.net/svnroot/mediaportal/trunk/mediaportal

[/code]


Ok, now the source should be available in c:\mediaportal .


Update local working copy

 After the initial checkout, it should be sufficient to execute the following in order to update your local working copy:

[code]@echo off

pushd c:\

svn update mediaportal

popd

[/code]

If you run this little batch file, then after a while your local working copy should be updated with the SVN source tree. You can update later on with the same batch file.


Build MediaPortal:

After updating, it's time for compilation. I just put the command into a batch file so I don't have to remember the syntax:

[code]@echo off

pushd c:\mediaportal

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\msbuild.exe mediaportal.sln /t:Rebuild /p:Configuration=Release

popd

[/code]

After the build is successfully completed, your freshly compiled MediaPortal is available in C:\mediaportal\xbmc\bin\release\.


That's it.


Kind regards,

Michel


EDIT: added solution filename to build batchfile...  :oops:

EDIT 01-04-2006: updated howto for SVN


Top Bottom