michaelrsweet/mxml

feature request: mxml as single header + source library

aganm opened this issue · 2 comments

aganm commented

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?

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.

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.