diff options
author | wsoltys <wiso@no.way> | 2013-08-11 17:34:19 +0200 |
---|---|---|
committer | spiff <spiff@xbmc.org> | 2013-08-20 20:20:22 +0200 |
commit | c09a9b0f7c5b099b66f0206a5d4b83c378ffb1a0 (patch) | |
tree | a3ba80dd0c5cdc61dae144ed0f7558804aae466c /project/cmake | |
parent | ca8d38faa00fea05549de64d72bb56ee7a728ade (diff) |
[WIN32] removed prepare_addon_environment(). this is done in the prepare-env step now.
Diffstat (limited to 'project/cmake')
-rw-r--r-- | project/cmake/xbmc-addon-helpers.cmake | 17 | ||||
-rw-r--r-- | project/cmake/xbmc-config.cmake.in | 1 |
2 files changed, 0 insertions, 18 deletions
diff --git a/project/cmake/xbmc-addon-helpers.cmake b/project/cmake/xbmc-addon-helpers.cmake index 87a60fa152..2394e9a38b 100644 --- a/project/cmake/xbmc-addon-helpers.cmake +++ b/project/cmake/xbmc-addon-helpers.cmake @@ -22,23 +22,6 @@ macro (addon_version dir prefix) message(STATUS ${prefix}_VERSION=${${prefix}_VERSION}) endmacro() -# Prepare the add-on build environment -macro (prepare_addon_environment) - IF(WIN32) - SET(BINDING_FILE ${XBMC_BINDINGS}.zip) - message (STATUS "downloading XBMC bindings: " ${BINDING_FILE}) - file(DOWNLOAD http://mirrors.xbmc.org/build-deps/win32/${BINDING_FILE} ${CMAKE_BINARY_DIR}/downloads/${BINDING_FILE} STATUS STATUSLIST SHOW_PROGRESS) - LIST(GET STATUSLIST 0 VALUE) - IF(${VALUE} STRGREATER "0") - LIST(GET STATUSLIST 1 VALUE) - message (STATUS "failed to download XBMC bindings: " ${VALUE}) - ENDIF(${VALUE} STRGREATER "0") - execute_process( - COMMAND ${CMAKE_COMMAND} -E tar xzf ${CMAKE_BINARY_DIR}/downloads/${BINDING_FILE} - ) - ENDIF(WIN32) -endmacro() - # Build, link and optionally package an add-on macro (build_addon target prefix libs) ADD_LIBRARY(${target} ${${prefix}_SOURCES}) diff --git a/project/cmake/xbmc-config.cmake.in b/project/cmake/xbmc-config.cmake.in index 415d0ce078..9b6dedf847 100644 --- a/project/cmake/xbmc-config.cmake.in +++ b/project/cmake/xbmc-config.cmake.in @@ -4,7 +4,6 @@ ADD_DEFINITIONS(@ARCH_DEFINES@) include(xbmc-addon-helpers) include(AddOptions) -prepare_addon_environment() OPTION(PACKAGE_ZIP "Package Zip file?" OFF) OPTION(PACKAGE_TGZ "Package TGZ file?" OFF) |