Re: [Interest] Do not generate files if exists or doesn't modified...

2014-09-22 Thread Till Oliver Knoll
Am 22.09.2014 um 10:37 schrieb "Igor Mironchik" : > Hi. > > ... > > How can I do that this files will generates only if they are not exists or if > .proto file was modified? For the first part of your question refer to qmake's internal functions, specifically "exists(filename)". For the la

[Interest] Do not generate files if exists or doesn't modified...

2014-09-22 Thread Igor Mironchik
Hi. In one project I use Google’s ProtoBuf for network messages. And in .pro file I have the next lines: PRE_TARGETDEPS += $$PWD/messages.pb.cc $$PWD/messages.pb.h QMAKE_EXTRA_TARGETS += protobufc protobufhprotobufc.target = $$PWD/messages.pb.ccprotobufc.depends = FORCEprotobufc.commands = prot