summaryrefslogtreecommitdiffstats
path: root/cmake/scripts/common/PrepareEnv.cmake
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2018-01-01 13:40:09 +0100
committermanuel <manuel@mausz.at>2018-01-01 13:40:09 +0100
commit4830f27a40323fe859dc166337a2b861877b7121 (patch)
tree39e9f712a5415ec0026c3914f4bf600b2f679287 /cmake/scripts/common/PrepareEnv.cmake
parent0afb1d4d51973cf52973617c92236d851a039d31 (diff)
downloadkodi-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.cmake14
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
44file(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 44include(${CORE_SOURCE_DIR}/xbmc/addons/AddonBindings.cmake)
49core_file_read_filtered(bindings ${CORE_SOURCE_DIR}/xbmc/addons/addon-bindings.mk) 45file(COPY ${CORE_ADDON_BINDINGS_FILES} ${CORE_ADDON_BINDINGS_DIRS}/
50foreach(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)
53endforeach()
54 48
55### processing additional tools required by the platform 49### processing additional tools required by the platform
56if(EXISTS ${CORE_SOURCE_DIR}/cmake/scripts/${CORE_SYSTEM_NAME}/tools/) 50if(EXISTS ${CORE_SOURCE_DIR}/cmake/scripts/${CORE_SYSTEM_NAME}/tools/)