CMakeLists.txt 543 B

12345678910111213141516171819202122
  1. set(TARGET qtprotobuf_test)
  2. include(${QT_PROTOBUF_CMAKE_DIR}/QtProtobufTest.cmake)
  3. file(GLOB SOURCES
  4. simpletest.cpp
  5. serializationtest.cpp
  6. deserializationtest.cpp
  7. serializationcomplexmessagemap.cpp
  8. converterstest.cpp
  9. jsonserializationtest.cpp
  10. jsondeserializationtest.cpp
  11. duplicatedmetatypestest.cpp
  12. nestedtest.cpp)
  13. add_test_target(TARGET ${TARGET}
  14. SOURCES ${SOURCES}
  15. QML)
  16. add_target_windeployqt(TARGET ${TARGET}
  17. QML_DIR ${CMAKE_CURRENT_SOURCE_DIR})
  18. add_test(NAME ${TARGET} COMMAND ${TARGET})