qt5base-lts/tests/auto/gui/text/qcssparser/CMakeLists.txt
Alexandru Croitor 403213240c CMake: Regenerate projects to use new qt_internal_ API
Modify special case locations to use the new API as well.
Clean up some stale .prev files that are not needed anymore.
Clean up some project files that are not used anymore.

Task-number: QTBUG-86815
Change-Id: I9947da921f98686023c6bb053dfcc101851276b5
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2020-09-23 16:59:06 +02:00

58 lines
1.5 KiB
CMake

# Generated from qcssparser.pro.
if(NOT QT_FEATURE_private_tests)
return()
endif()
#####################################################################
## tst_qcssparser Test:
#####################################################################
# Collect test data
list(APPEND test_data "testdata")
qt_internal_add_test(tst_qcssparser
SOURCES
tst_qcssparser.cpp
DEFINES
SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
PUBLIC_LIBRARIES
Qt::Gui
Qt::GuiPrivate
Qt::Xml
TESTDATA ${test_data}
)
#### Keys ignored in scope 1:.:.:qcssparser.pro:<TRUE>:
# _REQUIREMENTS = "qtConfig(private_tests)"
## Scopes:
#####################################################################
if(ANDROID)
# Resources:
set(testdata_resource_files
"testdata/scanner/comments/input"
"testdata/scanner/comments/output"
"testdata/scanner/comments2/input"
"testdata/scanner/comments2/output"
"testdata/scanner/comments3/input"
"testdata/scanner/comments3/output"
"testdata/scanner/comments4/input"
"testdata/scanner/comments4/output"
"testdata/scanner/quotedstring/input"
"testdata/scanner/quotedstring/output"
"testdata/scanner/simple/input"
"testdata/scanner/simple/output"
"testdata/scanner/unicode/input"
"testdata/scanner/unicode/output"
)
qt_internal_add_resource(tst_qcssparser "testdata"
PREFIX
"/"
FILES
${testdata_resource_files}
)
endif()