e9a328bc0e
Use pro2cmake with '--api-version 2' to force regenerate projects to use the new prefixed qt_foo APIs. Change-Id: I055c4837860319e93aaa6b09d646dda4fc2a4069 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
58 lines
1.5 KiB
CMake
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_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_add_resource(tst_qcssparser "testdata"
|
|
PREFIX
|
|
"/"
|
|
FILES
|
|
${testdata_resource_files}
|
|
)
|
|
endif()
|