From 294bcb3f3c59ebe9229205a204dacafa6642e0df Mon Sep 17 00:00:00 2001 From: Fabian Kosmale Date: Thu, 24 Sep 2020 13:39:14 +0200 Subject: cmake: enable colorresolving benchmark Change-Id: I15321e9940b1b9d5a1ae6f1296bf9466ca4f4262 Reviewed-by: Alexandru Croitor --- tests/benchmarks/quick/CMakeLists.txt | 2 +- .../benchmarks/quick/colorresolving/CMakeLists.txt | 28 ++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 tests/benchmarks/quick/colorresolving/CMakeLists.txt (limited to 'tests') diff --git a/tests/benchmarks/quick/CMakeLists.txt b/tests/benchmarks/quick/CMakeLists.txt index acb866acd2..0319ca484e 100644 --- a/tests/benchmarks/quick/CMakeLists.txt +++ b/tests/benchmarks/quick/CMakeLists.txt @@ -1,4 +1,4 @@ # Generated from quick.pro. add_subdirectory(events) -# add_subdirectory(colorresolving) # special case to be ported +add_subdirectory(colorresolving) diff --git a/tests/benchmarks/quick/colorresolving/CMakeLists.txt b/tests/benchmarks/quick/colorresolving/CMakeLists.txt new file mode 100644 index 0000000000..74b3cc4267 --- /dev/null +++ b/tests/benchmarks/quick/colorresolving/CMakeLists.txt @@ -0,0 +1,28 @@ +# Generated from colorresolving.pro. + +##################################################################### +## tst_colorresolving Test: +##################################################################### + +# Collect test data +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/data/tst_*) +list(APPEND test_data ${test_data_glob}) + +qt_add_test(tst_colorresolving + GUI + QMLTEST + SOURCES + tst_colorresolving.cpp + PUBLIC_LIBRARIES + Qt::Gui + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:colorresolving.pro:: +# OTHER_FILES = "$$PWD/data/*.qml" +# TEMPLATE = "app" + +## Scopes: +##################################################################### -- cgit v1.2.3