summaryrefslogtreecommitdiffstats
path: root/project/cmake/addons/depends/common/tinyxml/CMakeLists.txt
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2015-03-03 16:53:59 +0100
committermanuel <manuel@mausz.at>2015-03-03 16:53:59 +0100
commitffca21f2743a7b367fa212799c6e2fea6190dd5d (patch)
tree0608ea3a29cf644ec9ab204e2b4bb9bfaae1c381 /project/cmake/addons/depends/common/tinyxml/CMakeLists.txt
downloadkodi-pvr-build-ffca21f2743a7b367fa212799c6e2fea6190dd5d.tar.gz
kodi-pvr-build-ffca21f2743a7b367fa212799c6e2fea6190dd5d.tar.bz2
kodi-pvr-build-ffca21f2743a7b367fa212799c6e2fea6190dd5d.zip
initial commit for kodi master
Diffstat (limited to 'project/cmake/addons/depends/common/tinyxml/CMakeLists.txt')
-rw-r--r--project/cmake/addons/depends/common/tinyxml/CMakeLists.txt23
1 files changed, 23 insertions, 0 deletions
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 @@
1project(tinyxml)
2
3cmake_minimum_required(VERSION 2.8)
4
5set(SOURCES src/tinystr.cpp
6 src/tinyxml.cpp
7 src/tinyxmlerror.cpp
8 src/tinyxmlparser.cpp)
9
10if(WIN32)
11 add_definitions(-DWIN32 -D_LIB)
12endif()
13add_definitions(-DTIXML_USE_STL)
14
15add_library(tinyxml ${SOURCES})
16
17include_directories(${PROJECT_SOURCE_DIR}/include)
18
19set(HEADERS ${PROJECT_SOURCE_DIR}/include/tinystr.h
20 ${PROJECT_SOURCE_DIR}/include/tinyxml.h)
21
22install(FILES ${HEADERS} DESTINATION ${CMAKE_INSTALL_PREFIX}/include)
23install(TARGETS tinyxml DESTINATION ${CMAKE_INSTALL_PREFIX}/lib)