diff options
author | montellese <montellese@xbmc.org> | 2015-01-27 08:36:26 +0100 |
---|---|---|
committer | montellese <montellese@xbmc.org> | 2015-03-01 20:43:48 +0100 |
commit | 5649f73c9682f12be43fe6272810c3124e642529 (patch) | |
tree | 8049266a7358c8fae8ad62b3d267e42518452d46 /project | |
parent | 05f6bb379276746f96c79908e93be685fb44534d (diff) |
binary addons: add kodi-platform (and its dependency tinyxml) as a common dependency
Diffstat (limited to 'project')
4 files changed, 27 insertions, 0 deletions
diff --git a/project/cmake/addons/depends/common/kodi-platform/deps.txt b/project/cmake/addons/depends/common/kodi-platform/deps.txt new file mode 100644 index 0000000000..f0e8246220 --- /dev/null +++ b/project/cmake/addons/depends/common/kodi-platform/deps.txt @@ -0,0 +1,2 @@ +kodi +tinyxml
\ No newline at end of file diff --git a/project/cmake/addons/depends/common/kodi-platform/kodi-platform.txt b/project/cmake/addons/depends/common/kodi-platform/kodi-platform.txt new file mode 100644 index 0000000000..fb6916adf2 --- /dev/null +++ b/project/cmake/addons/depends/common/kodi-platform/kodi-platform.txt @@ -0,0 +1 @@ +kodi-platform https://github.com/xbmc/kodi-platform 68315f0 diff --git a/project/cmake/addons/depends/common/tinyxml/CMakeLists.txt b/project/cmake/addons/depends/common/tinyxml/CMakeLists.txt new file mode 100644 index 0000000000..5468bfb9d2 --- /dev/null +++ b/project/cmake/addons/depends/common/tinyxml/CMakeLists.txt @@ -0,0 +1,23 @@ +project(tinyxml) + +cmake_minimum_required(VERSION 2.8) + +set(SOURCES src/tinystr.cpp + src/tinyxml.cpp + src/tinyxmlerror.cpp + src/tinyxmlparser.cpp) + +if(WIN32) + add_definitions(-DWIN32 -D_LIB) +endif() +add_definitions(-DTIXML_USE_STL) + +add_library(tinyxml ${SOURCES}) + +include_directories(${PROJECT_SOURCE_DIR}/include) + +set(HEADERS ${PROJECT_SOURCE_DIR}/include/tinystr.h + ${PROJECT_SOURCE_DIR}/include/tinyxml.h) + +install(FILES ${HEADERS} DESTINATION ${CMAKE_INSTALL_PREFIX}/include) +install(TARGETS tinyxml DESTINATION ${CMAKE_INSTALL_PREFIX}/lib) diff --git a/project/cmake/addons/depends/common/tinyxml/tinyxml.txt b/project/cmake/addons/depends/common/tinyxml/tinyxml.txt new file mode 100644 index 0000000000..456b0c59e5 --- /dev/null +++ b/project/cmake/addons/depends/common/tinyxml/tinyxml.txt @@ -0,0 +1 @@ +tinyxml http://mirrors.xbmc.org/build-deps/sources/tinyxml-2.6.2_2.tar.gz |