comparison src/tinyxml-1-cmakelists.patch @ 5746:a7a61d0a104f

tinyxml: Use updated build rule from mxe.cc * src/tinyxml.mk: Update build rule with version from mxe.cc. * src/tinyxml-1-cmakelists.patch: Add patch from mxe.cc. * dist-files.mk: Add new file to build system.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 22 Apr 2021 18:45:58 +0200
parents
children
comparison
equal deleted inserted replaced
5745:31169ba1d68d 5746:a7a61d0a104f
1 diff -burN tinyxml.orig/CMakeLists.txt tinyxml/CMakeLists.txt
2 --- tinyxml.orig/CMakeLists.txt 1970-01-01 01:00:00.000000000 +0100
3 +++ tinyxml/CMakeLists.txt 2015-06-21 19:03:09.878168410 +0200
4 @@ -0,0 +1,18 @@
5 +cmake_minimum_required(VERSION 2.8)
6 +
7 +file(GLOB SRCS "${CMAKE_SOURCE_DIR}/tiny*.cpp" )
8 +
9 +include_directories(${CMAKE_SOURCE_DIR})
10 +add_definitions(-DTIXML_USE_STL)
11 +
12 +add_library(tinyxml ${SRCS})
13 +
14 +install(TARGETS tinyxml
15 + RUNTIME DESTINATION bin
16 + LIBRARY DESTINATION lib
17 + ARCHIVE DESTINATION lib)
18 +
19 +file(GLOB HEADERS "${CMAKE_SOURCE_DIR}/*.h")
20 +install(FILES ${HEADERS}
21 + DESTINATION include)
22 +