2015-03-23, 10:27
yes, cause you should point it (cmake) to the game.libretro build system, not $HOME/workspace/xbmc/project/cmake/addons
CMake Error at CMakeLists.txt:8 (find_package):
By not providing "Findkodi.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "kodi", but
CMake did not find one.
Could not find a package configuration file provided by "kodi" with any of
the following names:
kodiConfig.cmake
kodi-config.cmake
Add the installation prefix of "kodi" to CMAKE_PREFIX_PATH or set
"kodi_DIR" to a directory containing one of the above files. If "kodi"
provides a separate development package or SDK, be sure it has been
installed.
$ ls addons/
drwxrwxr-x 67 garrett garrett 4096 Mar 23 01:29 ./
drwxrwxr-x 17 garrett garrett 4096 Mar 22 21:09 ../
drwxrwxr-x 3 garrett garrett 4096 Mar 4 17:39 audioencoder.xbmc.builtin.aac/
drwxrwxr-x 3 garrett garrett 4096 Mar 4 17:39 audioencoder.xbmc.builtin.wma/
...
drwxrwxr-x 3 garrett garrett 4096 Mar 22 19:50 game.libretro/
drwxrwxr-x 3 garrett garrett 4096 Mar 22 19:50 game.libretro.nestopia/
$ ls addons/
drwxrwxr-x 67 garrett garrett 4096 Mar 23 01:29 ./
drwxrwxr-x 17 garrett garrett 4096 Mar 22 21:09 ../
drwxrwxr-x 3 garrett garrett 4096 Mar 4 17:39 audioencoder.xbmc.builtin.aac/
drwxrwxr-x 3 garrett garrett 4096 Mar 4 17:39 audioencoder.xbmc.builtin.wma/
...
drwxrwxr-x 3 garrett garrett 4096 Mar 22 19:50 lib/
drwxrwxr-x 3 garrett garrett 4096 Mar 22 19:50 share/
$ find addons/lib/
addons/lib/
addons/lib/kodi
addons/lib/kodi/addons
addons/lib/kodi/addons/game.libretro.nestopia
addons/lib/kodi/addons/game.libretro.nestopia/game.libretro.nestopia.so
addons/lib/kodi/addons/game.libretro
addons/lib/kodi/addons/game.libretro/game.libretro.so.1.0.0
addons/lib/kodi/addons/game.libretro/game.libretro.so
addons/lib/kodi/addons/game.libretro/game.libretro.so.15.0
(2015-03-23, 14:12)ironic_monkey Wrote: 1) a single build system for all platforms
2) decoupled repositories
3) once everything is done, binary addons will be just like other addons
- hosted in a repo
- updateable completely on their own
yes, you can do that as a post-build step in the project. i do that in my fork
https://github.com/notspiff/kodi-cmake/b...ake.in#L98