Normal
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:- Microsoft .NET Framework 2.0 (you should already have this one installed)- SVN tools (or any SVN client you prefer)- NUnit Framework for C# (required; make sure you get the one for .NET 2.0)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 offc: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 offpushd c:\svn update mediaportalpopd[/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 offpushd c:\mediaportalC:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\msbuild.exe mediaportal.sln /t:Rebuild /p:Configuration=Releasepopd[/code]After the build is successfully completed, your freshly compiled MediaPortal is available in C:\mediaportal\xbmc\bin\release\.That's it.Kind regards,MichelEDIT: added solution filename to build batchfile... EDIT 01-04-2006: updated howto for SVN
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:
pushd c:\
svn update mediaportal
popd
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:
pushd c:\mediaportal
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\msbuild.exe mediaportal.sln /t:Rebuild /p:Configuration=Release
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...
EDIT 01-04-2006: updated howto for SVN