[Qbs] Any novice tickets
Иван Комиссаров
abbapoh at gmail.com
Thu Aug 9 02:53:50 CEST 2018
Im a bit stuck with protobuf module. I’m trying to make the module behave different for different languages, i.e. generate .cc files for cpp project, java for java project and so on.
I am trying to use product.dependencies[i].name == «cpp» condition. It works in the outputArtifacts section, but i can’t provide a conditionally exported cpp.staticLibraries: ["protobuf»]
Here’s the code https://pastebin.com/gNMiNg7G <https://pastebin.com/gNMiNg7G>
I tried to tie cpp.staticLibraries to each artifact (but i guess the libraries are ignored for cpp tags) and i tried to use a Properties but it seems my condition function is not called at all (at least, throwing in it makes no result)
> 6 авг. 2018 г., в 16:39, Иван Комиссаров <abbapoh at gmail.com> написал(а):
>
> https://bugreports.qt.io/browse/QBS-563 <https://bugreports.qt.io/browse/QBS-563> (Add support for Google Protocol Buffers) It seems that shouldn't be very hard to implement a module for a protoc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20180809/de53b441/attachment.html>
More information about the Qbs
mailing list