view src/tinyxml-1-cmakelists.patch @ 6516:5ef7d51c2195

readline: Update to version 8.2-001. * src/readline.mk: Update version and checksum. * src/readline-0-001-upstream.patch: Upstream patch re-formatted to apply in MXE Octave. See: https://ftp.gnu.org/pub/gnu/readline/readline-8.2-patches/readline82-001 * src/readline-0-002-upstream.patch: Remove upstream patch for previous version. * src/readline-1-input.patch, src/readline-1-sigwinch.patch: Update patches. * src/readline-3-fd_set.patch: Add patch to guard functions that use types that aren't available on Windows. * src/gdb-1-readline-8.2.patch: Cherry-pick upstream patch. * dist-files.mk: Update files in list.
author Markus Mützel <markus.muetzel@gmx.de>
date Sat, 12 Nov 2022 17:00:41 +0100
parents a7a61d0a104f
children
line wrap: on
line source

diff -burN tinyxml.orig/CMakeLists.txt tinyxml/CMakeLists.txt
--- tinyxml.orig/CMakeLists.txt	1970-01-01 01:00:00.000000000 +0100
+++ tinyxml/CMakeLists.txt	2015-06-21 19:03:09.878168410 +0200
@@ -0,0 +1,18 @@
+cmake_minimum_required(VERSION 2.8)
+
+file(GLOB SRCS "${CMAKE_SOURCE_DIR}/tiny*.cpp" )
+
+include_directories(${CMAKE_SOURCE_DIR})
+add_definitions(-DTIXML_USE_STL)
+
+add_library(tinyxml ${SRCS})
+
+install(TARGETS tinyxml
+  RUNTIME DESTINATION bin
+  LIBRARY DESTINATION lib
+  ARCHIVE DESTINATION lib)
+
+file(GLOB HEADERS "${CMAKE_SOURCE_DIR}/*.h")
+install(FILES ${HEADERS}
+  DESTINATION include)
+