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, Иван Комиссаров <abba...@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.
_______________________________________________ Qbs mailing list Qbs@qt-project.org http://lists.qt-project.org/mailman/listinfo/qbs