summaryrefslogtreecommitdiffstats
path: root/project/cmake/addons/depends/common/tinyxml
diff options
context:
space:
mode:
Diffstat (limited to 'project/cmake/addons/depends/common/tinyxml')
-rw-r--r--project/cmake/addons/depends/common/tinyxml/CMakeLists.txt23
-rw-r--r--project/cmake/addons/depends/common/tinyxml/tinyxml.txt1
2 files changed, 24 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)
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