Archive:Eclipse CDT Setup For XBMC Development

From Official Kodi Wiki
Revision as of 10:31, 1 January 2010 by >Dteirney (New page: Rough starting page with notes on how to get development of XBMC Media Center up and running using [http://www.eclipse.org/cdt/ Eclipse C/C++ Development Tooling (CDT)] = Installing Eclip...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Rough starting page with notes on how to get development of XBMC Media Center up and running using Eclipse C/C++ Development Tooling (CDT)

Installing Eclipse CDT

Download the Eclipse IDE for C/C++ Developers from Eclipse Downloads.

Install the Subversive plugin by gaining inspiration from the out-of-date Eclipse Subversive Installation Documentation

Help -> Install New Software

Type subversive into the Work with text box. Choose the Subversive Site that appears.

Install Subversive Integration Plug-in's and Subversive Team Provider Plugin

Restart Eclipse

Install Subversive Connectors (dialog after restarting Eclipse)

Choose the appropriate SVN Kit version. For example, SVN Kit 1.2.3 is for subversion 1.4 (which you can check using svn --version).

Restart Eclipse

Setting up XBMC in Eclipse CDT

Get XBMC source from subversion

Import project into Eclipse

Connect to subversion using Team -> Share Project (may be done magically now by new Subversive plug-in)

Building XBMC

Either use command line externally or integrate Makefile target for top level configure and make

Debugging XBMC

Build and then launch built xbmc.bin process or connect to existing running xbmc.bin process

Tips and Tricks

Configure editor to show differences between the working file and what's under source control

Code formatter settings for XBMC