diff options
Diffstat (limited to 'project/cmake/addons/depends/common')
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 0000000..f0e8246 --- /dev/null +++ b/project/cmake/addons/depends/common/kodi-platform/deps.txt | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | kodi | ||
| 2 | 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 0000000..fb6916a --- /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 0000000..5468bfb --- /dev/null +++ b/project/cmake/addons/depends/common/tinyxml/CMakeLists.txt | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | project(tinyxml) | ||
| 2 | |||
| 3 | cmake_minimum_required(VERSION 2.8) | ||
| 4 | |||
| 5 | set(SOURCES src/tinystr.cpp | ||
| 6 | src/tinyxml.cpp | ||
| 7 | src/tinyxmlerror.cpp | ||
| 8 | src/tinyxmlparser.cpp) | ||
| 9 | |||
| 10 | if(WIN32) | ||
| 11 | add_definitions(-DWIN32 -D_LIB) | ||
| 12 | endif() | ||
| 13 | add_definitions(-DTIXML_USE_STL) | ||
| 14 | |||
| 15 | add_library(tinyxml ${SOURCES}) | ||
| 16 | |||
| 17 | include_directories(${PROJECT_SOURCE_DIR}/include) | ||
| 18 | |||
| 19 | set(HEADERS ${PROJECT_SOURCE_DIR}/include/tinystr.h | ||
| 20 | ${PROJECT_SOURCE_DIR}/include/tinyxml.h) | ||
| 21 | |||
| 22 | install(FILES ${HEADERS} DESTINATION ${CMAKE_INSTALL_PREFIX}/include) | ||
| 23 | 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 0000000..456b0c5 --- /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 | |||
