CMakeLists.txt 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. qt_internal_add_test(tst_protobuf_json_serialization_basictypes
  2. SOURCES
  3. serializationbasictypes.cpp
  4. LIBRARIES
  5. Qt::Test
  6. Qt::Protobuf
  7. )
  8. _qt_internal_link_protobuf_objects(tst_protobuf_json_serialization_basictypes
  9. tst_protobuf_basictypes_gen
  10. tst_protobuf_fieldindexrange_gen
  11. )
  12. qt_internal_add_test(tst_protobuf_json_serialization_repeatedtypes
  13. SOURCES
  14. serializationrepeatedtypes.cpp
  15. LIBRARIES
  16. Qt::Test
  17. Qt::Protobuf
  18. )
  19. _qt_internal_link_protobuf_objects(tst_protobuf_json_serialization_repeatedtypes
  20. tst_protobuf_basictypes_gen
  21. tst_protobuf_repeatedtypes_gen
  22. )
  23. qt_internal_add_test(tst_protobuf_json_serialization_maptypes
  24. SOURCES
  25. serializationmaptypes.cpp
  26. LIBRARIES
  27. Qt::Test
  28. Qt::Protobuf
  29. )
  30. _qt_internal_link_protobuf_objects(tst_protobuf_json_serialization_maptypes
  31. tst_protobuf_basictypes_gen
  32. tst_protobuf_maptypes_gen
  33. )
  34. qt_internal_add_test(tst_protobuf_json_deserialization_basictypes
  35. SOURCES
  36. deserializationbasictypes.cpp
  37. LIBRARIES
  38. Qt::Test
  39. Qt::Protobuf
  40. )
  41. _qt_internal_link_protobuf_objects(tst_protobuf_json_deserialization_basictypes
  42. tst_protobuf_basictypes_gen
  43. )
  44. qt_internal_add_test(tst_protobuf_json_deserialization_repeatedtypes
  45. SOURCES
  46. deserializationrepeatedtypes.cpp
  47. LIBRARIES
  48. Qt::Test
  49. Qt::Protobuf
  50. )
  51. _qt_internal_link_protobuf_objects(tst_protobuf_json_deserialization_repeatedtypes
  52. tst_protobuf_basictypes_gen
  53. tst_protobuf_repeatedtypes_gen
  54. )
  55. qt_internal_add_test(tst_protobuf_json_deserialization_maptypes
  56. SOURCES
  57. deserializationmaptypes.cpp
  58. LIBRARIES
  59. Qt::Test
  60. Qt::Protobuf
  61. )
  62. _qt_internal_link_protobuf_objects(tst_protobuf_json_deserialization_maptypes
  63. tst_protobuf_basictypes_gen
  64. tst_protobuf_maptypes_gen
  65. )