[Github-comments] [geany/geany] WIP: Meson build system (#2761)

Eli Schwartz notifications at xxxxx
Sun Jan 23 23:05:09 UTC 2022


@eli-schwartz commented on this pull request.



> +    dep_doxygen = declare_dependency(sources: ['plugins.dox',
+                                               'pluginsignals.c',
+                                               'pluginsymbols.c',
+                                               'stash-example.c',
+                                               'stash-gui-example.c'])
+
+    custom_target('doxygen.stamp',
+                  input: dox,
+                  output: ['doxygen.stamp'],
+                  command: [doxygen, '@INPUT@', '&&', 'touch', '@OUTPUT@'],
+                  depends: libgeany,
+                  build_by_default: true)
+    doxy_xml = custom_target('doxygen-gi.stamp',
+                             input: doxgi,
+                             output: ['doxygen-gi.stamp'],
+                             command: [doxygen, '@INPUT@', '&&', 'touch', '@OUTPUT@'],

Also regarding the declare_dependency, a declare_dependency is a way of producing a custom defined pkg-config style `dependency()` object, hence why it can also expose c_args and link_args, which have no meaning to a custom_target.

You can just list the files directly as custom_target `depends: `

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2761#discussion_r790343774
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/2761/review/860384481 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20220123/5f6cad1a/attachment.htm>


More information about the Github-comments mailing list