martinpitt / umockdev

Mock hardware devices for creating unit tests and bug reporting
https://launchpad.net/umockdev
GNU Lesser General Public License v2.1
312 stars 58 forks source link

docs: Work-around creation of umockdev.types #141

Closed hadess closed 3 years ago

hadess commented 3 years ago

meson doesn't seem to have a way to tell gtk-doc where the .c files to extract the type functions from would be when they're generated, like they are for Vala sources.

Work around this by providing a static .types file.

See https://github.com/mesonbuild/meson/issues/3892

(Take 2, CC @benzea )

martinpitt commented 3 years ago

Hah, this just started to happen in the regularly scheduled CI runs. @benzea , it's a bit ugly having to hardcode the types list, but it doesn't change that often, so OK for me. WDYT?

benzea commented 3 years ago

Seems like a good solution to me!