CMakeLists.txt 511 B

1234567891011121314151617181920
  1. set(TARGET qtprotobuf_test)
  2. include(${QTPROTOBUF_CMAKE_DIR}/QtProtobufCommon.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. EXCLUDE_HEADERS nestedsimpleintmessage.h
  12. SOURCES ${SOURCES}
  13. QML TRUE)
  14. add_target_windeployqt(TARGET ${TARGET}
  15. QML_DIR ${CMAKE_CURRENT_SOURCE_DIR})
  16. add_test(NAME ${TARGET} COMMAND ${TARGET})