From ffca21f2743a7b367fa212799c6e2fea6190dd5d Mon Sep 17 00:00:00 2001 From: manuel Date: Tue, 3 Mar 2015 16:53:59 +0100 Subject: initial commit for kodi master --- .../addons/depends/common/tinyxml/CMakeLists.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 project/cmake/addons/depends/common/tinyxml/CMakeLists.txt (limited to 'project/cmake/addons/depends/common/tinyxml/CMakeLists.txt') 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 @@ +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) -- cgit v1.2.3