CMakeLists.txt 1.1 KB

12345678910111213141516171819202122232425262728
  1. find_package(Protobuf)
  2. qt_get_tool_target_name(target_name qtprotobufgen)
  3. qt_internal_add_tool(${target_name}
  4. TOOLS_TARGET
  5. Protobuf
  6. SOURCES
  7. utils.h
  8. descriptorprinterbase.h
  9. main.cpp
  10. generatorcommon.cpp generatorcommon.h
  11. generatoroptions.cpp generatoroptions.h
  12. templates.cpp templates.h
  13. generatorbase.cpp generatorbase.h
  14. singlefilegenerator.cpp singlefilegenerator.h
  15. multifilegenerator.cpp multifilegenerator.h
  16. baseprinter.cpp baseprinter.h
  17. messagedeclarationprinter.cpp messagedeclarationprinter.h
  18. messagedefinitionprinter.cpp messagedefinitionprinter.h
  19. enumdeclarationprinter.cpp enumdeclarationprinter.h
  20. enumdefinitionprinter.cpp enumdefinitionprinter.h
  21. servicedeclarationprinterbase.cpp servicedeclarationprinterbase.h
  22. clientdeclarationprinter.cpp clientdeclarationprinter.h
  23. clientdefinitionprinter.cpp clientdefinitionprinter.h
  24. serverdeclarationprinter.cpp serverdeclarationprinter.h
  25. LIBRARIES
  26. protobuf::libprotobuf
  27. protobuf::libprotoc
  28. )