mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-04-12 03:38:30 +00:00
* meson: fix regression that broke extracting version In commit33f67386fethe code that heuristically parsed the version broke due to the version being moved around into a more easily accessible define. While we are at it, pass the exact path of httplib.h to un-break usage as a meson subproject. This was broken in commit8ecdb11979which checked the return code of trying to get the version; it was always broken, but formerly failed in silence and resulted in no version number. * meson: use the compiler builtins to extract the version from the header As a convenient string define, it is now possible to ask the preprocessor what the version of cpp-httplib is. This can be used from meson too, in order to avoid encoding C++ file structure into python regexes.
3.0 KiB
3.0 KiB