1b1248d7cd
This is incomplete. moc has compilation problems, some advanced parts of qmake tests are not supported by the converter. Change-Id: Ic389ddfa10a7558f21cf7ba9ead8e58157c760da Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
32 lines
752 B
CMake
32 lines
752 B
CMake
# Generated from qmake.pro.
|
|
|
|
#####################################################################
|
|
## tst_qmake Test:
|
|
#####################################################################
|
|
|
|
# Collect test data
|
|
|
|
file(GLOB_RECURSE test_data_glob
|
|
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
|
"testdata/*")
|
|
list(APPEND test_data ${test_data_glob})
|
|
|
|
add_qt_test(tst_qmake
|
|
GUI
|
|
SOURCES
|
|
testcompiler.cpp testcompiler.h
|
|
tst_qmake.cpp
|
|
TESTDATA ${test_data}
|
|
)
|
|
|
|
## Scopes:
|
|
#####################################################################
|
|
|
|
#### Keys ignored in scope 2:.:.:qmake.pro:WIN32:
|
|
# testcase.timeout = "900"
|
|
|
|
extend_target(tst_qmake CONDITION (CMAKE_CROSSCOMPILING) # special case
|
|
DEFINES
|
|
QMAKE_CROSS_COMPILED
|
|
)
|