44 lines
1.3 KiB
CMake
44 lines
1.3 KiB
CMake
# Generated from test.pro.
|
|
|
|
#####################################################################
|
|
## test Test:
|
|
#####################################################################
|
|
|
|
# Collect test data
|
|
list(APPEND test_data "../test/test.pro")
|
|
list(APPEND test_data "../tmp/README")
|
|
list(APPEND test_data "../modal")
|
|
|
|
add_qt_test(tst_qapplication # special case
|
|
SOURCES
|
|
../tst_qapplication.cpp
|
|
PUBLIC_LIBRARIES
|
|
Qt::CorePrivate
|
|
Qt::Gui
|
|
Qt::GuiPrivate
|
|
Qt::Widgets
|
|
Qt::WidgetsPrivate
|
|
TESTDATA ${test_data}
|
|
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/.." # special case
|
|
)
|
|
|
|
## Scopes:
|
|
#####################################################################
|
|
|
|
extend_target(tst_qapplication CONDITION builtin_testdata # special case
|
|
DEFINES
|
|
BUILTIN_TESTDATA
|
|
)
|
|
|
|
#### Keys ignored in scope 3:.:.:test.pro:NOT ANDROID AND NOT WINRT:
|
|
# SUBPROGRAMS = "desktopsettingsaware" "modal"
|
|
|
|
#### Keys ignored in scope 6:.:.:test.pro:NOT ANDROID AND NOT WINRT:
|
|
# TEST_HELPER_INSTALLS = "../debug/helper"
|
|
|
|
#### Keys ignored in scope 8:.:.:test.pro:NOT ANDROID AND NOT WINRT:
|
|
# TEST_HELPER_INSTALLS = "../release/helper"
|
|
|
|
#### Keys ignored in scope 10:.:.:test.pro:NOT ANDROID AND NOT WINRT:
|
|
# TEST_HELPER_INSTALLS = "../helper"
|