set(TARGET qtprotobuf_test) include(${CMAKE_SOURCE_DIR}/cmake/QtProtobufCommon.cmake) set(GENERATED_HEADERS complexmessage.h externalcomplexmessage.h globalenums.h repeatedbytesmessage.h repeatedcomplexmessage.h repeateddoublemessage.h repeatedexternalcomplexmessage.h repeatedfixedint64message.h repeatedfixedintmessage.h repeatedfloatmessage.h repeatedint64message.h repeatedintmessage.h repeatedsfixedint64message.h repeatedsfixedintmessage.h repeatedsint64message.h repeatedsintmessage.h repeatedstringmessage.h repeateduint64message.h repeateduintmessage.h simpleboolmessage.h simplebytesmessage.h simpledoublemessage.h simpleenumlistmessage.h simpleenummessage.h simpleexternalenummessage.h simpleexternalmessage.h simplefileenummessage.h simplefixed32complexmessagemapmessage.h simplefixed32int32mapmessage.h simplefixed32int64mapmessage.h simplefixed32sint32mapmessage.h simplefixed32sint64mapmessage.h simplefixed32stringmapmessage.h simplefixed32uint32mapmessage.h simplefixed32uint64mapmessage.h simplefixed64complexmessagemapmessage.h simplefixed64int32mapmessage.h simplefixed64int64mapmessage.h simplefixed64sint32mapmessage.h simplefixed64sint64mapmessage.h simplefixed64stringmapmessage.h simplefixed64uint32mapmessage.h simplefixed64uint64mapmessage.h simplefixedint32message.h simplefixedint64message.h simplefloatmessage.h simpleint32complexmessagemapmessage.h simpleint32int32mapmessage.h simpleint32int64mapmessage.h simpleint32sint32mapmessage.h simpleint32sint64mapmessage.h simpleint32stringmapmessage.h simpleint32uint32mapmessage.h simpleint32uint64mapmessage.h simpleint64complexmessagemapmessage.h simpleint64int32mapmessage.h simpleint64int64mapmessage.h simpleint64message.h simpleint64sint32mapmessage.h simpleint64sint64mapmessage.h simpleint64stringmapmessage.h simpleint64uint32mapmessage.h simpleint64uint64mapmessage.h simpleintmessage.h simplesfixed32complexmessagemapmessage.h simplesfixed32int32mapmessage.h simplesfixed32int64mapmessage.h simplesfixed32sint32mapmessage.h simplesfixed32sint64mapmessage.h simplesfixed32stringmapmessage.h simplesfixed32uint32mapmessage.h simplesfixed32uint64mapmessage.h simplesfixed64complexmessagemapmessage.h simplesfixed64int32mapmessage.h simplesfixed64int64mapmessage.h simplesfixed64sint32mapmessage.h simplesfixed64sint64mapmessage.h simplesfixed64stringmapmessage.h simplesfixed64uint32mapmessage.h simplesfixed64uint64mapmessage.h simplesfixedint32message.h simplesfixedint64message.h simplesint32complexmessagemapmessage.h simplesint32int32mapmessage.h simplesint32int64mapmessage.h simplesint32sint32mapmessage.h simplesint32sint64mapmessage.h simplesint32stringmapmessage.h simplesint32uint32mapmessage.h simplesint32uint64mapmessage.h simplesint64complexmessagemapmessage.h simplesint64int32mapmessage.h simplesint64int64mapmessage.h simplesint64message.h simplesint64sint32mapmessage.h simplesint64sint64mapmessage.h simplesint64stringmapmessage.h simplesint64uint32mapmessage.h simplesint64uint64mapmessage.h simplesintmessage.h simplestringcomplexmessagemapmessage.h simplestringint32mapmessage.h simplestringint64mapmessage.h simplestringmessage.h simplestringsint32mapmessage.h simplestringsint64mapmessage.h simplestringstringmapmessage.h simplestringuint32mapmessage.h simplestringuint64mapmessage.h simpleuint32complexmessagemapmessage.h simpleuint32int32mapmessage.h simpleuint32int64mapmessage.h simpleuint32sint32mapmessage.h simpleuint32sint64mapmessage.h simpleuint32stringmapmessage.h simpleuint32uint32mapmessage.h simpleuint32uint64mapmessage.h simpleuint64complexmessagemapmessage.h simpleuint64int32mapmessage.h simpleuint64int64mapmessage.h simpleuint64message.h simpleuint64sint32mapmessage.h simpleuint64sint64mapmessage.h simpleuint64stringmapmessage.h simpleuint64uint32mapmessage.h simpleuint64uint64mapmessage.h simpleuintmessage.h stepchildenummessage.h emptymessage.h fieldindextest1message.h fieldindextest2message.h fieldindextest3message.h fieldindextest4message.h ) file(GLOB SOURCES simpletest.cpp serializationtest.cpp deserializationtest.cpp serializationcomplexmessagemap.cpp converterstest.cpp) add_test_target(TARGET ${TARGET} GENERATED_HEADERS ${GENERATED_HEADERS} SOURCES ${SOURCES}) add_test(NAME ${TARGET} COMMAND ${TARGET})