michaelrsweet / mxml

Tiny XML library.
https://www.msweet.org/mxml
Apache License 2.0
428 stars 157 forks source link

feature request: mxml as single header + source library #269

Open aganm opened 3 years ago

aganm commented 3 years ago

Would you consider making an amalgamated version of mxml which would allow to add 2 files to a project (mxml.h + mxml.c) and be built as part of the project?

michaelrsweet commented 3 years ago

Doing the whole library (indexing, etc.) probably isn't feasible, but I can look at refactoring things so the core XML functionality is available in one source file.

MrPorcine commented 2 years ago

I'm using mxml 3.3.1. It works fine as a library in LInux with the main application written in Qt. In Win10, I compiled mxml in Visual Studio 2022. The main application is done in Qt-Creator 6.0.1. Qt just crashes when I try to use the DLL from VS. Undoubtedly this is some issue that could be figured out, but instead I just added your sources to the Qt project and all works. No action needed on your part, I just thought you'd like to know. Windows 21H2.

Thanks for all the work you did on this, and thanks for making it open source.