From a18701e7b2fe03780f90502d5d51e09cdc3ad718 Mon Sep 17 00:00:00 2001 From: "h.udo" Date: Thu, 8 Sep 2016 18:15:54 +0100 Subject: [cmake] Move to root folder: Move files --- cmake/addons/depends/common/kodi-platform/deps.txt | 2 ++ .../depends/common/kodi-platform/kodi-platform.txt | 1 + .../depends/common/p8-platform/p8-platform.txt | 1 + cmake/addons/depends/common/tinyxml/CMakeLists.txt | 22 ++++++++++++++++++++++ cmake/addons/depends/common/tinyxml/tinyxml.txt | 1 + 5 files changed, 27 insertions(+) create mode 100644 cmake/addons/depends/common/kodi-platform/deps.txt create mode 100644 cmake/addons/depends/common/kodi-platform/kodi-platform.txt create mode 100644 cmake/addons/depends/common/p8-platform/p8-platform.txt create mode 100644 cmake/addons/depends/common/tinyxml/CMakeLists.txt create mode 100644 cmake/addons/depends/common/tinyxml/tinyxml.txt (limited to 'cmake/addons/depends/common') diff --git a/cmake/addons/depends/common/kodi-platform/deps.txt b/cmake/addons/depends/common/kodi-platform/deps.txt new file mode 100644 index 0000000000..b9538152d3 --- /dev/null +++ b/cmake/addons/depends/common/kodi-platform/deps.txt @@ -0,0 +1,2 @@ +tinyxml +p8-platform diff --git a/cmake/addons/depends/common/kodi-platform/kodi-platform.txt b/cmake/addons/depends/common/kodi-platform/kodi-platform.txt new file mode 100644 index 0000000000..46ef93cc94 --- /dev/null +++ b/cmake/addons/depends/common/kodi-platform/kodi-platform.txt @@ -0,0 +1 @@ +kodi-platform https://github.com/xbmc/kodi-platform c8188d82678fec6b784597db69a68e74ff4986b5 diff --git a/cmake/addons/depends/common/p8-platform/p8-platform.txt b/cmake/addons/depends/common/p8-platform/p8-platform.txt new file mode 100644 index 0000000000..7db4e36ec1 --- /dev/null +++ b/cmake/addons/depends/common/p8-platform/p8-platform.txt @@ -0,0 +1 @@ +p8-platform https://github.com/Pulse-Eight/platform.git 38343e0acd6a636ac46139aa666aee4a8d1f13db diff --git a/cmake/addons/depends/common/tinyxml/CMakeLists.txt b/cmake/addons/depends/common/tinyxml/CMakeLists.txt new file mode 100644 index 0000000000..ec396eeb40 --- /dev/null +++ b/cmake/addons/depends/common/tinyxml/CMakeLists.txt @@ -0,0 +1,22 @@ +cmake_minimum_required(VERSION 3.1) +project(tinyxml) + +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/cmake/addons/depends/common/tinyxml/tinyxml.txt b/cmake/addons/depends/common/tinyxml/tinyxml.txt new file mode 100644 index 0000000000..f8e05e8756 --- /dev/null +++ b/cmake/addons/depends/common/tinyxml/tinyxml.txt @@ -0,0 +1 @@ +tinyxml http://mirrors.kodi.tv/build-deps/sources/tinyxml-2.6.2_2.tar.gz -- cgit v1.2.3