CMakeLists.txt 460 B

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