diff options
| author | manuel <manuel@mausz.at> | 2018-01-01 13:40:09 +0100 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2018-01-01 13:40:09 +0100 |
| commit | 4830f27a40323fe859dc166337a2b861877b7121 (patch) | |
| tree | 39e9f712a5415ec0026c3914f4bf600b2f679287 /cmake/scripts/common/PrepareEnv.cmake | |
| parent | 0afb1d4d51973cf52973617c92236d851a039d31 (diff) | |
| download | kodi-pvr-build-4830f27a40323fe859dc166337a2b861877b7121.tar.gz kodi-pvr-build-4830f27a40323fe859dc166337a2b861877b7121.tar.bz2 kodi-pvr-build-4830f27a40323fe859dc166337a2b861877b7121.zip | |
sync with upstream
Diffstat (limited to 'cmake/scripts/common/PrepareEnv.cmake')
| -rw-r--r-- | cmake/scripts/common/PrepareEnv.cmake | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/cmake/scripts/common/PrepareEnv.cmake b/cmake/scripts/common/PrepareEnv.cmake index 5a6066b..1426148 100644 --- a/cmake/scripts/common/PrepareEnv.cmake +++ b/cmake/scripts/common/PrepareEnv.cmake | |||
| @@ -40,17 +40,11 @@ file(COPY ${CORE_SOURCE_DIR}/cmake/scripts/common/AddonHelpers.cmake | |||
| 40 | ${CORE_SOURCE_DIR}/cmake/scripts/common/AddOptions.cmake | 40 | ${CORE_SOURCE_DIR}/cmake/scripts/common/AddOptions.cmake |
| 41 | DESTINATION ${APP_LIB_DIR}) | 41 | DESTINATION ${APP_LIB_DIR}) |
| 42 | 42 | ||
| 43 | # copy standard add-on include files | ||
| 44 | file(COPY ${CORE_SOURCE_DIR}/xbmc/addons/kodi-addon-dev-kit/include/kodi/ | ||
| 45 | DESTINATION ${APP_INCLUDE_DIR} REGEX ".txt" EXCLUDE) | ||
| 46 | |||
| 47 | ### copy all the addon binding header files to include/kodi | 43 | ### copy all the addon binding header files to include/kodi |
| 48 | # parse addon-bindings.mk to get the list of header files to copy | 44 | include(${CORE_SOURCE_DIR}/xbmc/addons/AddonBindings.cmake) |
| 49 | core_file_read_filtered(bindings ${CORE_SOURCE_DIR}/xbmc/addons/addon-bindings.mk) | 45 | file(COPY ${CORE_ADDON_BINDINGS_FILES} ${CORE_ADDON_BINDINGS_DIRS}/ |
| 50 | foreach(header ${bindings}) | 46 | DESTINATION ${APP_INCLUDE_DIR} |
| 51 | # copy the header file to include/kodi | 47 | REGEX ".txt" EXCLUDE) |
| 52 | configure_file(${CORE_SOURCE_DIR}/${header} ${APP_INCLUDE_DIR} COPYONLY) | ||
| 53 | endforeach() | ||
| 54 | 48 | ||
| 55 | ### processing additional tools required by the platform | 49 | ### processing additional tools required by the platform |
| 56 | if(EXISTS ${CORE_SOURCE_DIR}/cmake/scripts/${CORE_SYSTEM_NAME}/tools/) | 50 | if(EXISTS ${CORE_SOURCE_DIR}/cmake/scripts/${CORE_SYSTEM_NAME}/tools/) |
