2019-10-22 07:59:13 +00:00
|
|
|
# Generated from lancelot.pro.
|
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
## tst_lancelot Test:
|
|
|
|
#####################################################################
|
|
|
|
|
|
|
|
# Collect test data
|
|
|
|
file(GLOB_RECURSE test_data_glob
|
|
|
|
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
scripts/*)
|
|
|
|
list(APPEND test_data ${test_data_glob})
|
|
|
|
|
2020-09-22 08:16:58 +00:00
|
|
|
qt_internal_add_test(tst_lancelot
|
2019-10-22 07:59:13 +00:00
|
|
|
SOURCES
|
|
|
|
../../../baselineserver/shared/baselineprotocol.cpp ../../../baselineserver/shared/baselineprotocol.h
|
|
|
|
../../../baselineserver/shared/lookup3.cpp
|
|
|
|
../../../baselineserver/shared/qbaselinetest.cpp ../../../baselineserver/shared/qbaselinetest.h
|
|
|
|
paintcommands.cpp paintcommands.h
|
|
|
|
tst_lancelot.cpp
|
|
|
|
DEFINES
|
|
|
|
QMAKESPEC=\\\"\\\"
|
|
|
|
INCLUDE_DIRECTORIES
|
|
|
|
../../../baselineserver/shared
|
|
|
|
PUBLIC_LIBRARIES
|
|
|
|
Qt::Gui
|
2020-02-12 09:24:49 +00:00
|
|
|
Qt::GuiPrivate
|
2019-10-22 07:59:13 +00:00
|
|
|
Qt::Network
|
|
|
|
TESTDATA ${test_data}
|
|
|
|
)
|
|
|
|
|
|
|
|
# Resources:
|
|
|
|
set(images_resource_files
|
|
|
|
"images/alpha.png"
|
|
|
|
"images/alpha2x2.png"
|
|
|
|
"images/bitmap.png"
|
|
|
|
"images/border.png"
|
|
|
|
"images/borderimage.png"
|
|
|
|
"images/dome_argb32.png"
|
|
|
|
"images/dome_indexed.png"
|
|
|
|
"images/dome_indexed_mask.png"
|
|
|
|
"images/dome_mono.png"
|
|
|
|
"images/dome_mono_128.png"
|
|
|
|
"images/dome_mono_palette.png"
|
|
|
|
"images/dome_rgb32.png"
|
|
|
|
"images/dot.png"
|
|
|
|
"images/face.png"
|
|
|
|
"images/gam030.png"
|
|
|
|
"images/gam045.png"
|
|
|
|
"images/gam056.png"
|
|
|
|
"images/gam100.png"
|
|
|
|
"images/gam200.png"
|
|
|
|
"images/image.png"
|
|
|
|
"images/mask.png"
|
|
|
|
"images/mask_100.png"
|
|
|
|
"images/masked.png"
|
|
|
|
"images/sign.png"
|
|
|
|
"images/solid.png"
|
|
|
|
"images/solid2x2.png"
|
|
|
|
"images/struct-image-01.jpg"
|
|
|
|
"images/struct-image-01.png"
|
|
|
|
"images/zebra.png"
|
|
|
|
)
|
|
|
|
|
2020-09-22 08:16:58 +00:00
|
|
|
qt_internal_add_resource(tst_lancelot "images"
|
2019-10-22 07:59:13 +00:00
|
|
|
PREFIX
|
|
|
|
"/"
|
|
|
|
FILES
|
|
|
|
${images_resource_files}
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
## Scopes:
|
|
|
|
#####################################################################
|
|
|
|
|
2020-09-22 08:16:58 +00:00
|
|
|
qt_internal_extend_target(tst_lancelot CONDITION QT_FEATURE_opengl
|
2020-01-27 12:25:34 +00:00
|
|
|
PUBLIC_LIBRARIES
|
|
|
|
Qt::OpenGL
|
|
|
|
)
|
|
|
|
|
|
|
|
#### Keys ignored in scope 4:.:../../../baselineserver/shared:../../../baselineserver/shared/qbaselinetest.pri:WIN32:
|
2019-10-22 07:59:13 +00:00
|
|
|
# MKSPEC = "$$replace(QMAKESPEC, \\\\, /)"
|
|
|
|
|
2020-01-27 12:25:34 +00:00
|
|
|
#### Keys ignored in scope 5:.:../../../baselineserver/shared:../../../baselineserver/shared/qbaselinetest.pri:else:
|
2019-10-22 07:59:13 +00:00
|
|
|
# MKSPEC = "$$QMAKESPEC"
|