28 lines
738 B
CMake
28 lines
738 B
CMake
# Generated from qxmlsimplereader.pro.
|
|
|
|
#####################################################################
|
|
## tst_qxmlsimplereader Test:
|
|
#####################################################################
|
|
|
|
# Collect test data
|
|
file(GLOB_RECURSE test_data_glob
|
|
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
|
encodings/*)
|
|
list(APPEND test_data ${test_data_glob})
|
|
file(GLOB_RECURSE test_data_glob
|
|
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
|
xmldocs/*)
|
|
list(APPEND test_data ${test_data_glob})
|
|
|
|
add_qt_test(tst_qxmlsimplereader
|
|
SOURCES
|
|
parser/parser.cpp parser/parser.h
|
|
tst_qxmlsimplereader.cpp
|
|
INCLUDE_DIRECTORIES
|
|
parser
|
|
PUBLIC_LIBRARIES
|
|
Qt::Network
|
|
Qt::Xml
|
|
TESTDATA ${test_data}
|
|
)
|