diff options
author | wsnipex <wsnipex@a1.net> | 2017-10-14 09:29:15 +0200 |
---|---|---|
committer | wsnipex <wsnipex@a1.net> | 2017-10-14 09:29:15 +0200 |
commit | dd30a2b0723ad97ffb5944d54d6d4a850fca29fe (patch) | |
tree | 2760562eb7851ab2310b6b41b58d8a31a8b87fc1 /CMakeLists.txt | |
parent | e08b01dcd20ad742ab9fdc3ef085e6971126f7d0 (diff) |
[cmake] move kodi-addon-dev-kit to AddonBindings.cmake
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2b28633bc7..c3a91b5486 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -422,14 +422,9 @@ endif() # Prepare add-on build env include(${CORE_SOURCE_DIR}/xbmc/addons/AddonBindings.cmake) -file(COPY ${CORE_ADDON_BINDINGS_FILES} ${CORE_ADDON_BINDINGS_DIRS}/ DESTINATION ${CORE_BUILD_DIR}/include/${APP_NAME_LC}) -file(GLOB_RECURSE ADDON_HEADERS - RELATIVE ${CORE_SOURCE_DIR}/xbmc/addons/kodi-addon-dev-kit/include/kodi - ${CORE_SOURCE_DIR}/xbmc/addons/kodi-addon-dev-kit/include/kodi/*.h) -foreach(header ${ADDON_HEADERS}) - configure_file(${CORE_SOURCE_DIR}/xbmc/addons/kodi-addon-dev-kit/include/kodi/${header} - ${CORE_BUILD_DIR}/include/kodi/${header} COPYONLY) -endforeach() +file(COPY ${CORE_ADDON_BINDINGS_FILES} ${CORE_ADDON_BINDINGS_DIRS}/ + DESTINATION ${CORE_BUILD_DIR}/include/${APP_NAME_LC} + REGEX ".txt" EXCLUDE) set(APP_LIB_DIR ${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}/lib/${APP_NAME_LC}) set(APP_INCLUDE_DIR ${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}/include/${APP_NAME_LC}) |