diff options
author | Leif Middelschulte <leif.middelschulte@gmail.com> | 2017-10-24 10:05:26 +0200 |
---|---|---|
committer | Leif Middelschulte <leif.middelschulte@gmail.com> | 2017-10-25 21:09:16 +0200 |
commit | 050a56ad47fef8f8fbc66a6b3465bd49697bef94 (patch) | |
tree | 9512641533b0329e94895d518d2fe75bf0421f49 /docs/markdown/snippets | |
parent | 14e7b0af25c90ed78b9309fd122d34b24d69fc0e (diff) | |
download | meson-050a56ad47fef8f8fbc66a6b3465bd49697bef94.zip meson-050a56ad47fef8f8fbc66a6b3465bd49697bef94.tar.gz meson-050a56ad47fef8f8fbc66a6b3465bd49697bef94.tar.bz2 |
Qt5-Module: Add `moc_extra_arguments` keyword support.
This commit adds support for an additional `moc_extra_arguments` keyword.
It becomes especially handy, when `moc`-ed sources conditionally provide
`slots`, depending on compile time macros (i.e. defines).
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/qt5-moc_extra_arguments.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/markdown/snippets/qt5-moc_extra_arguments.md b/docs/markdown/snippets/qt5-moc_extra_arguments.md new file mode 100644 index 0000000..957c3c7 --- /dev/null +++ b/docs/markdown/snippets/qt5-moc_extra_arguments.md @@ -0,0 +1,8 @@ +# Adds support for additional Qt5-Module keyword `moc_extra_arguments` + +When `moc`-ing sources, the `moc` tool does not know about any +preprocessor macros. The generated code might not match the input +files when the linking with the moc input sources happens. + +This amendment allows to specify a a list of additional arguments +passed to the `moc` tool. They are called `moc_extra_arguments`.
\ No newline at end of file |