Allow to use human readable chrono literals to specify method call
timeout. The change is backward compatbile - if no unit is provided,
the fallback is "us".
Example:
<annotation name="org.freedesktop.DBus.Method.Timeout" value="500ms"/>
This patch is required if EXPAT library is installed in non-standard location.
Without 'target_include_directories' cmake will find EXPAT library:
...
-- Found EXPAT: .../lib/libexpat.a (found version "2.2.10")
...
But 'xml.cpp' compilation will fail with error:
...
tools/xml2cpp-codegen/xml.cpp:7:10: fatal error: expat.h: No such file or directory
7 | #include <expat.h>
...
- add a list of c++ keywords and common defines
- sanitize names so that there are no functions/args with names that are reserved in c++
Co-authored-by: Christian Schneider <cschneider@radiodata.biz>