cmake: add tests in corelib/time
Change-Id: Idcd5d1be7503b50a43954c1b209e48a32cc8eaa9 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
a98f64af91
commit
b3b2c799f8
@ -1,4 +1,6 @@
|
||||
# Generated from time.pro.
|
||||
|
||||
add_subdirectory(qdate)
|
||||
add_subdirectory(qdatetime)
|
||||
add_subdirectory(qtime)
|
||||
add_subdirectory(qtimezone)
|
||||
|
@ -10,6 +10,3 @@ add_qt_test(tst_qdate
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qdate.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
||||
|
26
tests/auto/corelib/time/qdatetime/CMakeLists.txt
Normal file
26
tests/auto/corelib/time/qdatetime/CMakeLists.txt
Normal file
@ -0,0 +1,26 @@
|
||||
# Generated from qdatetime.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qdatetime Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qdatetime
|
||||
SOURCES
|
||||
tst_qdatetime.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
)
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
#### Keys ignored in scope 2:.:.:qdatetime.pro:MSVC:
|
||||
# QMAKE_CFLAGS_RELEASE = "--O1"
|
||||
# QMAKE_CXXFLAGS_RELEASE = "--O1"
|
||||
|
||||
extend_target(tst_qdatetime CONDITION APPLE
|
||||
SOURCES
|
||||
tst_qdatetime_mac.mm
|
||||
PUBLIC_LIBRARIES
|
||||
${FWFoundation}
|
||||
)
|
@ -1 +1,10 @@
|
||||
add_qt_test(tst_qtime SOURCES tst_qtime.cpp)
|
||||
# Generated from qtime.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qtime Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qtime
|
||||
SOURCES
|
||||
tst_qtime.cpp
|
||||
)
|
||||
|
27
tests/auto/corelib/time/qtimezone/CMakeLists.txt
Normal file
27
tests/auto/corelib/time/qtimezone/CMakeLists.txt
Normal file
@ -0,0 +1,27 @@
|
||||
# Generated from qtimezone.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qtimezone Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qtimezone
|
||||
SOURCES
|
||||
tst_qtimezone.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
)
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(tst_qtimezone CONDITION QT_FEATURE_icu
|
||||
LIBRARIES
|
||||
ICU::i18n ICU::uc ICU::data
|
||||
)
|
||||
|
||||
extend_target(tst_qtimezone CONDITION APPLE
|
||||
SOURCES
|
||||
tst_qtimezone_darwin.mm
|
||||
PUBLIC_LIBRARIES
|
||||
${FWFoundation}
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user