Hello,
I'd like to start using fmt library (
https://fmt.dev/ if anybody is really
not aware of it) in wx instead of wxString::Format() and friends. However,
experimenting with it, I'm running into problems related to CMake install
logic.
I'd like to support both using the system fmt library, if available, and
falling back to using 3rdparty/fmt otherwise, as usual. In the first case,
there is no problem, but it looks like in the second one we need to
actually install fmt ourselves, which doesn't seem right, but I don't see
how to avoid doing it. Or, rather, I do see one way, but it looks ugly: we
could avoid using a separate fmt library and compile its sources as part of
wxbase itself. And we'd also need to avoid using fmt in any public headers.
Should we do it like this or is there some better way?
Thanks in advance,
VZ