This add-on has the following processing modes:
When building the addon you have to use the correct branch depending on which version of Kodi you're building against.
For example, if you're building the Jarvis
branch of Kodi you should checkout the Jarvis
branch of this repository.
Addon releases are also tagged regularly.
For further instructions replace {addon-id}
and {org}
with the repository- and the Github organisation-name.
E.g. https://github.com/kodi-adsp/adsp.basic.git
results in {addon-id}=adsp.basic
and {org}=kodi-adsp
With the following instructions the add-on files will be placed in ../../xbmc/addons
. Consequently this adds a system add-on, which can be used direclty if you build Kodi from source.
git clone https://github.com/xbmc/xbmc.git
git clone https://github.com/{org}/{addon-id}.git
cd {addon-id} && mkdir build && cd build
cmake -DADDONS_TO_BUILD={addon-id} -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/project/cmake/addons
make
Use the visual studio command line or run call "%VS120COMNTOOLS%..\..\VC\bin\vcvars32.bat"
git clone https://github.com/xbmc/xbmc.git
git clone https://github.com/{org}/{addon-id}.git
cd {addon-id} && mkdir build && cd build
cmake -G "NMake Makefiles" -DADDONS_TO_BUILD={addon-id} -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/project/cmake/addons
cmake --build "%cd%" --target "{addon-id}"