- Jan 26, 2021
-
-
Dov Grobgeld authored
Fixed typo
-
- Dec 30, 2020
-
-
Lee Thomason authored
Add meson build system
-
Lee Thomason authored
removed overhead of clear error
-
Lee Thomason authored
cmake: Use a namespace for the tinyxml2 target in local export
-
Lee Thomason authored
Fix for enum in StrPair and TIXMLASSERT define behaviour
-
Lee Thomason authored
Add missing `defined`, detected by -Werror=undef
-
Lee Thomason authored
skip comment node before get text
-
Lee Thomason authored
Fix errors/warnings with hexadecimal format string in sscanf
-
- Nov 20, 2020
-
-
Will Pazner authored
-
- Oct 22, 2020
-
-
dota17 authored
-
- Oct 09, 2020
-
-
Dylan Baker authored
Meson is a build system somewhat like cmake, but without all of the rough edges. It supports many OSes, including all of the major ones, and a large number of C++ compilers. My interest isn't really in convincing people to use meson as the default here, but meson provides a subproject mechanism that can fetch external projects and build them along with the main project in a single configure/compile invocation. This is extremely useful for platforms that lack a (competent) package manager. As far as I know the meson build does everything the cmake build does, with one exception: generate the cmake config/version files. meson can generate these files, but only in simple cases, and not when using export targets like tinyxml2 does.
-
David Faure authored
-
- Sep 27, 2020
-
-
Mark Mossberg authored
Previously in the locally (cmake build dir) exported cmake script, there was no namespace, so the targets would directly be available in the global namespace. Users would do something like: include(cmake/tinyxml2Targets.cmake) target_link_libraries(main tinyxml2) Now, a namespace is used (just like the cmake export that is exported to the system at the `install(EXPORT...)` command at the bottom of this file. Uses will now look like: include(cmake/tinyxml2Targets.cmake) target_link_libraries(main tinyxml2::tinyxml2) This is technically a minor breaking change. It will only affect users that actually use the *locally* export cmake targets script, which I expect to be fairly few (note that this is different from the system exported script). Also, it will only affect users that freshly build at this commit of tinyxml2, and have the cmake for their downstream project configured to load it. That cmake will need to be changed from the first snippet to the second snippet above.
-
- Sep 23, 2020
-
-
Pantelis Lekakis authored
-
- Sep 17, 2020
-
-
Lee Thomason authored
cmake: Fix debug postfix in pkgconfig file
-
Lee Thomason authored
cmake: Refactor targets export variable and improve comments
-
Lee Thomason authored
cmake: Don't export symbols if building static library
-
- Sep 07, 2020
-
-
Pantelis Lekakis authored
- Fix for enum bitmask usage
-
- Jul 30, 2020
-
-
ngc92 authored
-
- Jul 02, 2020
-
-
Lee Thomason authored
-
Lee Thomason authored
-
Lee Thomason authored
-
Lee Thomason authored
Add QueryAttribute for const char**
-
- Jun 17, 2020
-
-
Wolfgang Stöggl authored
CMakeLists.txt uses set(CMAKE_DEBUG_POSTFIX "d") to distinguish between debug and release lib. Use this postfix also in the generated tinyxml2.pc file in case of a CMake Debug build. This results in the following contents of tinyxml2.pc - Release: Libs: -L${libdir} -ltinyxml2 - Debug: Libs: -L${libdir} -ltinyxml2d
-
- Jun 14, 2020
-
-
justnope authored
-
Lee Thomason authored
-
Lee Thomason authored
Suppress UndefinedBehaviorSanitizer warnings
-
Lee Thomason authored
-
Lee Thomason authored
-
Lee Thomason authored
Add github action
-
Lee Thomason authored
XMLPrinter: Fix first line indentation
-
Lee Thomason authored
-
Lee Thomason authored
-
-
- Jun 01, 2020
-
-
Owen Rudge authored
-
- May 13, 2020
-
-
a-lunkov authored
I compiled tinyxml2 with the following changes to CMakeLists.txt: -------------------------------------------------- ------------------------------------------ set (CMAKE_C_COMPILER "/ usr / local / bin / clang10") set (CMAKE_CXX_COMPILER "/ usr / local / bin / clang ++ 10") add_compile_options (-g) add_compile_options (-fsanitize = address, undefined, integer, alignment, bool, builtin, bounds, enum, function, nonnull-attribute, null, object-size, pointer-overflow, return, returns-nonnull-attribute, unreachable, vla-bound , vptr) set_source_files_properties (tinyxml2.cpp tinyxml2.h PROPERTIES COMPILE_FLAGS -fsanitize = address, undefined, integer, alignment, bool, builtin, bounds, enum, function, nonnull-attribute, null, object-size, pointer-overflow, return, returns-nonnull-attribute, unreachable, vla-bound , vptr) TARGET_LINK_LIBRARIES (tinyxml2 /usr/local/llvm10/lib/clang/10.0.0/lib/freebsd/libclang_rt.asan-x86_64.a /usr/local/llvm10/lib/clang/10.0.0/lib/freebsd/libang asan_cxx-x86_64.a /usr/local/llvm10/lib/clang/10.0.0/lib/freebsd/libclang_rt.ubsan_standalone-x86_64.a /usr/local/llvm10/lib/clang/10.0.0/lib/freebsd/ libclang_rt.ubsan_standalone_cxx-x86_64.a -lpthread) -------------------------------------------------- ------------------------------------------ (Sorry for the dirty code.) And launched the xmltest utility: -------------------------------------------------- ------------------------------------------ /home/qqq/17_tinyxml2/tinyxml2-master/tinyxml2.cpp:237:37: runtime error: implicit conversion from type 'char' of value -48 (8-bit, signed) to type 'unsigned char' changed the value to 208 (8-bit, unsigned) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/qqq/17_tinyxml2/tinyxml2-master/tinyxml2.cpp:237:37 in /home/qqq/17_tinyxml2/tinyxml2-master/tinyxml2.cpp:243:40: runtime error: implicit conversion from type 'char' of value -96 (8-bit, signed) to type 'unsigned char' changed the value to 160 (8-bit, unsigned) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/qqq/17_tinyxml2/tinyxml2-master/tinyxml2.cpp:243:40 in /home/qqq/17_tinyxml2/tinyxml2-master/tinyxml2.cpp:1912:39: runtime error: implicit conversion from type 'char' of value -48 (8-bit, signed) to type 'unsigned char' changed the value to 208 (8-bit, unsigned) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/qqq/17_tinyxml2/tinyxml2-master/tinyxml2.cpp:1912:39 in -------------------------------------------------- ------------------------------------------
-
a-lunkov authored
Switch to master
-
- Apr 23, 2020
- Apr 15, 2020
-
-
amai2012 authored
-