CMakeLists.txt 492 B

1234567891011121314151617181920
  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. add_test_target(TARGET ${TARGET}
  12. SOURCES ${SOURCES}
  13. QML)
  14. add_target_windeployqt(TARGET ${TARGET}
  15. QML_DIR ${CMAKE_CURRENT_SOURCE_DIR})
  16. add_test(NAME ${TARGET} COMMAND ${TARGET})