Files
qmsgpack/tests/stream/CMakeLists.txt
Roman b7fbf6413e MsgPackStream integers pack and unpack
User types packers now called only once, and return QByteArray
2015-05-16 21:45:33 +03:00

24 lines
428 B
CMake

set(QT_USE_QTTEST TRUE)
if (NOT Qt5Core_FOUND)
include( ${QT_USE_FILE} )
endif()
include(AddFileDependencies)
include_directories(../../src ${CMAKE_CURRENT_BINARY_DIR})
set(UNIT_TESTS stream_test)
foreach(test ${UNIT_TESTS})
message(status "Building ${test}")
add_executable(${test} ${test}.cpp)
target_link_libraries(${test}
${QT_LIBRARIES}
${TEST_LIBRARIES}
qmsgpack
)
add_test(${test} ${test})
endforeach()