CMake: Regenerate tests with new qt_ prefixed APIs
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>
This commit is contained in:
parent
5417f1e40c
commit
e9a328bc0e
@ -4,7 +4,7 @@
|
|||||||
## tst_qtconcurrentiteratekernel Test:
|
## tst_qtconcurrentiteratekernel Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qtconcurrentiteratekernel
|
qt_add_test(tst_qtconcurrentiteratekernel
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtconcurrentiteratekernel.cpp
|
tst_qtconcurrentiteratekernel.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qtconcurrentmedian Test:
|
## tst_qtconcurrentmedian Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qtconcurrentmedian
|
qt_add_test(tst_qtconcurrentmedian
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtconcurrentmedian.cpp
|
tst_qtconcurrentmedian.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qtconcurrentrun Test:
|
## tst_qtconcurrentrun Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qtconcurrentrun
|
qt_add_test(tst_qtconcurrentrun
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtconcurrentrun.cpp
|
tst_qtconcurrentrun.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qtconcurrenttask Test:
|
## tst_qtconcurrenttask Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qtconcurrenttask
|
qt_add_test(tst_qtconcurrenttask
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtconcurrenttask.cpp
|
tst_qtconcurrenttask.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qtconcurrentthreadengine Test:
|
## tst_qtconcurrentthreadengine Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qtconcurrentthreadengine
|
qt_add_test(tst_qtconcurrentthreadengine
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtconcurrentthreadengine.cpp
|
tst_qtconcurrentthreadengine.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qabstractanimation Test:
|
## tst_qabstractanimation Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qabstractanimation
|
qt_add_test(tst_qabstractanimation
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qabstractanimation.cpp
|
tst_qabstractanimation.cpp
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qanimationgroup Test:
|
## tst_qanimationgroup Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qanimationgroup
|
qt_add_test(tst_qanimationgroup
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qanimationgroup.cpp
|
tst_qanimationgroup.cpp
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qparallelanimationgroup Test:
|
## tst_qparallelanimationgroup Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qparallelanimationgroup
|
qt_add_test(tst_qparallelanimationgroup
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qparallelanimationgroup.cpp
|
tst_qparallelanimationgroup.cpp
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qpauseanimation Test:
|
## tst_qpauseanimation Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qpauseanimation
|
qt_add_test(tst_qpauseanimation
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qpauseanimation.cpp
|
tst_qpauseanimation.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qsequentialanimationgroup Test:
|
## tst_qsequentialanimationgroup Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qsequentialanimationgroup
|
qt_add_test(tst_qsequentialanimationgroup
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qsequentialanimationgroup.cpp
|
tst_qsequentialanimationgroup.cpp
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qvariantanimation Test:
|
## tst_qvariantanimation Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qvariantanimation
|
qt_add_test(tst_qvariantanimation
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qvariantanimation.cpp
|
tst_qvariantanimation.cpp
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_q_func_info Test:
|
## tst_q_func_info Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_q_func_info
|
qt_add_test(tst_q_func_info
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_q_func_info.cpp
|
tst_q_func_info.cpp
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qflags Test:
|
## tst_qflags Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qflags
|
qt_add_test(tst_qflags
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qflags.cpp
|
tst_qflags.cpp
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qfloat16 Test:
|
## tst_qfloat16 Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qfloat16
|
qt_add_test(tst_qfloat16
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qfloat16.cpp
|
tst_qfloat16.cpp
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qgetputenv Test:
|
## tst_qgetputenv Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qgetputenv
|
qt_add_test(tst_qgetputenv
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qgetputenv.cpp
|
tst_qgetputenv.cpp
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qglobal Test:
|
## tst_qglobal Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qglobal
|
qt_add_test(tst_qglobal
|
||||||
SOURCES
|
SOURCES
|
||||||
qglobal.c
|
qglobal.c
|
||||||
tst_qglobal.cpp
|
tst_qglobal.cpp
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qglobalstatic Test:
|
## tst_qglobalstatic Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qglobalstatic
|
qt_add_test(tst_qglobalstatic
|
||||||
EXCEPTIONS
|
EXCEPTIONS
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qglobalstatic.cpp
|
tst_qglobalstatic.cpp
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qhooks Test:
|
## tst_qhooks Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qhooks
|
qt_add_test(tst_qhooks
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qhooks.cpp
|
tst_qhooks.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qnumeric Test:
|
## tst_qnumeric Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qnumeric
|
qt_add_test(tst_qnumeric
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qnumeric.cpp
|
tst_qnumeric.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
@ -14,13 +14,13 @@ add_qt_test(tst_qnumeric
|
|||||||
## Scopes:
|
## Scopes:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
extend_target(tst_qnumeric CONDITION ICC
|
qt_extend_target(tst_qnumeric CONDITION ICC
|
||||||
COMPILE_OPTIONS
|
COMPILE_OPTIONS
|
||||||
-fp-model
|
-fp-model
|
||||||
strict
|
strict
|
||||||
)
|
)
|
||||||
|
|
||||||
extend_target(tst_qnumeric CONDITION intel_icl
|
qt_extend_target(tst_qnumeric CONDITION intel_icl
|
||||||
COMPILE_OPTIONS
|
COMPILE_OPTIONS
|
||||||
/fp:strict
|
/fp:strict
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qrand Test:
|
## tst_qrand Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qrand
|
qt_add_test(tst_qrand
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qrand.cpp
|
tst_qrand.cpp
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qrandomgenerator Test:
|
## tst_qrandomgenerator Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qrandomgenerator
|
qt_add_test(tst_qrandomgenerator
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qrandomgenerator.cpp
|
tst_qrandomgenerator.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qtendian Test:
|
## tst_qtendian Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qtendian
|
qt_add_test(tst_qtendian
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtendian.cpp
|
tst_qtendian.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_largefile Test:
|
## tst_largefile Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_largefile
|
qt_add_test(tst_largefile
|
||||||
SOURCES
|
SOURCES
|
||||||
../../../../shared/emulationdetector.h
|
../../../../shared/emulationdetector.h
|
||||||
tst_largefile.cpp
|
tst_largefile.cpp
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qabstractfileengine Test:
|
## tst_qabstractfileengine Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qabstractfileengine
|
qt_add_test(tst_qabstractfileengine
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qabstractfileengine.cpp
|
tst_qabstractfileengine.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
@ -16,7 +16,7 @@ set(qabstractfileengine_resource_files
|
|||||||
"resources/"
|
"resources/"
|
||||||
)
|
)
|
||||||
|
|
||||||
add_qt_resource(tst_qabstractfileengine "qabstractfileengine"
|
qt_add_resource(tst_qabstractfileengine "qabstractfileengine"
|
||||||
PREFIX
|
PREFIX
|
||||||
"/tst_qabstractfileengine/"
|
"/tst_qabstractfileengine/"
|
||||||
FILES
|
FILES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qbuffer Test:
|
## tst_qbuffer Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qbuffer
|
qt_add_test(tst_qbuffer
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qbuffer.cpp
|
tst_qbuffer.cpp
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qdataurl Test:
|
## tst_qdataurl Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qdataurl
|
qt_add_test(tst_qdataurl
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdataurl.cpp
|
tst_qdataurl.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qdebug Test:
|
## tst_qdebug Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qdebug
|
qt_add_test(tst_qdebug
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdebug.cpp
|
tst_qdebug.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
|
@ -13,7 +13,7 @@ list(APPEND test_data "entrylist")
|
|||||||
list(APPEND test_data "types")
|
list(APPEND test_data "types")
|
||||||
list(APPEND test_data "tst_qdir.cpp")
|
list(APPEND test_data "tst_qdir.cpp")
|
||||||
|
|
||||||
add_qt_test(tst_qdir
|
qt_add_test(tst_qdir
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdir.cpp
|
tst_qdir.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
@ -26,7 +26,7 @@ set(qdir_resource_files
|
|||||||
"resources/entryList/"
|
"resources/entryList/"
|
||||||
)
|
)
|
||||||
|
|
||||||
add_qt_resource(tst_qdir "qdir"
|
qt_add_resource(tst_qdir "qdir"
|
||||||
PREFIX
|
PREFIX
|
||||||
"/tst_qdir/"
|
"/tst_qdir/"
|
||||||
FILES
|
FILES
|
||||||
@ -40,7 +40,7 @@ add_qt_resource(tst_qdir "qdir"
|
|||||||
#### Keys ignored in scope 2:.:.:qdir.pro:IOS:
|
#### Keys ignored in scope 2:.:.:qdir.pro:IOS:
|
||||||
# QMAKE_INFO_PLIST = "Info.plist"
|
# QMAKE_INFO_PLIST = "Info.plist"
|
||||||
|
|
||||||
extend_target(tst_qdir CONDITION CONFIG___contains___builtin_testdata
|
qt_extend_target(tst_qdir CONDITION CONFIG___contains___builtin_testdata
|
||||||
DEFINES
|
DEFINES
|
||||||
BUILTIN_TESTDATA
|
BUILTIN_TESTDATA
|
||||||
)
|
)
|
||||||
@ -90,7 +90,7 @@ if(ANDROID AND NOT ANDROID_EMBEDDED)
|
|||||||
"types/f/dummy"
|
"types/f/dummy"
|
||||||
)
|
)
|
||||||
|
|
||||||
add_qt_resource(tst_qdir "android_testdata"
|
qt_add_resource(tst_qdir "android_testdata"
|
||||||
PREFIX
|
PREFIX
|
||||||
"/android_testdata"
|
"/android_testdata"
|
||||||
FILES
|
FILES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## qdir Binary:
|
## qdir Binary:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_executable(qdir
|
qt_add_executable(qdir
|
||||||
GUI
|
GUI
|
||||||
DEFINES
|
DEFINES
|
||||||
QT_DISABLE_DEPRECATED_BEFORE=0
|
QT_DISABLE_DEPRECATED_BEFORE=0
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
# Collect test data
|
# Collect test data
|
||||||
list(APPEND test_data "entrylist")
|
list(APPEND test_data "entrylist")
|
||||||
|
|
||||||
add_qt_test(tst_qdiriterator
|
qt_add_test(tst_qdiriterator
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdiriterator.cpp
|
tst_qdiriterator.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
@ -21,7 +21,7 @@ set(qdiriterator_resource_files
|
|||||||
"entrylist/file"
|
"entrylist/file"
|
||||||
)
|
)
|
||||||
|
|
||||||
add_qt_resource(tst_qdiriterator "qdiriterator"
|
qt_add_resource(tst_qdiriterator "qdiriterator"
|
||||||
PREFIX
|
PREFIX
|
||||||
"/testdata/"
|
"/testdata/"
|
||||||
FILES
|
FILES
|
||||||
@ -32,7 +32,7 @@ add_qt_resource(tst_qdiriterator "qdiriterator"
|
|||||||
## Scopes:
|
## Scopes:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
extend_target(tst_qdiriterator CONDITION CONFIG___contains___builtin_testdata
|
qt_extend_target(tst_qdiriterator CONDITION CONFIG___contains___builtin_testdata
|
||||||
DEFINES
|
DEFINES
|
||||||
BUILTIN_TESTDATA
|
BUILTIN_TESTDATA
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## stdinprocess_helper Binary:
|
## stdinprocess_helper Binary:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test_helper(stdinprocess_helper
|
qt_add_test_helper(stdinprocess_helper
|
||||||
SOURCES
|
SOURCES
|
||||||
main.cpp
|
main.cpp
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qfileinfo Test:
|
## tst_qfileinfo Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qfileinfo
|
qt_add_test(tst_qfileinfo
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qfileinfo.cpp
|
tst_qfileinfo.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
@ -16,7 +16,7 @@ set(qfileinfo_resource_files
|
|||||||
"resources/"
|
"resources/"
|
||||||
)
|
)
|
||||||
|
|
||||||
add_qt_resource(tst_qfileinfo "qfileinfo"
|
qt_add_resource(tst_qfileinfo "qfileinfo"
|
||||||
PREFIX
|
PREFIX
|
||||||
"/tst_qfileinfo/"
|
"/tst_qfileinfo/"
|
||||||
FILES
|
FILES
|
||||||
@ -29,7 +29,7 @@ set(testdata_resource_files
|
|||||||
"tst_qfileinfo.cpp"
|
"tst_qfileinfo.cpp"
|
||||||
)
|
)
|
||||||
|
|
||||||
add_qt_resource(tst_qfileinfo "testdata"
|
qt_add_resource(tst_qfileinfo "testdata"
|
||||||
PREFIX
|
PREFIX
|
||||||
"/testdata"
|
"/testdata"
|
||||||
FILES
|
FILES
|
||||||
@ -40,7 +40,7 @@ add_qt_resource(tst_qfileinfo "testdata"
|
|||||||
## Scopes:
|
## Scopes:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
extend_target(tst_qfileinfo CONDITION WIN32
|
qt_extend_target(tst_qfileinfo CONDITION WIN32
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
advapi32
|
advapi32
|
||||||
netapi32
|
netapi32
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qfilesystementry Test:
|
## tst_qfilesystementry Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qfilesystementry
|
qt_add_test(tst_qfilesystementry
|
||||||
SOURCES
|
SOURCES
|
||||||
${QT_SOURCE_TREE}/src/corelib/io/qfilesystementry.cpp ${QT_SOURCE_TREE}/src/corelib/io/qfilesystementry_p.h
|
${QT_SOURCE_TREE}/src/corelib/io/qfilesystementry.cpp ${QT_SOURCE_TREE}/src/corelib/io/qfilesystementry_p.h
|
||||||
tst_qfilesystementry.cpp
|
tst_qfilesystementry.cpp
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qfilesystemmetadata Test:
|
## tst_qfilesystemmetadata Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qfilesystemmetadata
|
qt_add_test(tst_qfilesystemmetadata
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qfilesystemmetadata.cpp
|
tst_qfilesystemmetadata.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qfilesystemwatcher Test:
|
## tst_qfilesystemwatcher Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qfilesystemwatcher
|
qt_add_test(tst_qfilesystemwatcher
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qfilesystemwatcher.cpp
|
tst_qfilesystemwatcher.cpp
|
||||||
)
|
)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
# Collect test data
|
# Collect test data
|
||||||
list(APPEND test_data "tst_qiodevice.cpp")
|
list(APPEND test_data "tst_qiodevice.cpp")
|
||||||
|
|
||||||
add_qt_test(tst_qiodevice
|
qt_add_test(tst_qiodevice
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qiodevice.cpp
|
tst_qiodevice.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
@ -27,7 +27,7 @@ if(ANDROID AND NOT ANDROID_EMBEDDED)
|
|||||||
"tst_qiodevice.cpp"
|
"tst_qiodevice.cpp"
|
||||||
)
|
)
|
||||||
|
|
||||||
add_qt_resource(tst_qiodevice "android_testdata"
|
qt_add_resource(tst_qiodevice "android_testdata"
|
||||||
PREFIX
|
PREFIX
|
||||||
"/"
|
"/"
|
||||||
FILES
|
FILES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qipaddress Test:
|
## tst_qipaddress Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qipaddress
|
qt_add_test(tst_qipaddress
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qipaddress.cpp
|
tst_qipaddress.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## qlockfile_test_helper Binary:
|
## qlockfile_test_helper Binary:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_executable(qlockfile_test_helper
|
qt_add_executable(qlockfile_test_helper
|
||||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
|
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
|
||||||
SOURCES
|
SOURCES
|
||||||
qlockfile_test_helper.cpp
|
qlockfile_test_helper.cpp
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## qlockfile_test_helper Binary:
|
## qlockfile_test_helper Binary:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test_helper(qlockfile_test_helper # special case
|
qt_add_test_helper(qlockfile_test_helper # special case
|
||||||
OVERRIDE_OUTPUT_DIRECTORY # special case
|
OVERRIDE_OUTPUT_DIRECTORY # special case
|
||||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
|
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
|
||||||
SOURCES
|
SOURCES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qloggingcategory Test:
|
## tst_qloggingcategory Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qloggingcategory
|
qt_add_test(tst_qloggingcategory
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qloggingcategory.cpp
|
tst_qloggingcategory.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
# Collect test data
|
# Collect test data
|
||||||
list(APPEND test_data "qtlogging.ini")
|
list(APPEND test_data "qtlogging.ini")
|
||||||
|
|
||||||
add_qt_test(tst_qloggingregistry
|
qt_add_test(tst_qloggingregistry
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qloggingregistry.cpp
|
tst_qloggingregistry.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
@ -27,7 +27,7 @@ if(ANDROID AND NOT ANDROID_EMBEDDED)
|
|||||||
"qtlogging.ini"
|
"qtlogging.ini"
|
||||||
)
|
)
|
||||||
|
|
||||||
add_qt_resource(tst_qloggingregistry "android_testdata"
|
qt_add_resource(tst_qloggingregistry "android_testdata"
|
||||||
PREFIX
|
PREFIX
|
||||||
"/"
|
"/"
|
||||||
FILES
|
FILES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qnodebug Test:
|
## tst_qnodebug Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qnodebug
|
qt_add_test(tst_qnodebug
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qnodebug.cpp
|
tst_qnodebug.cpp
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## qprocess-noapplication Test:
|
## qprocess-noapplication Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(qprocess-noapplication
|
qt_add_test(qprocess-noapplication
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qprocessnoapplication.cpp
|
tst_qprocessnoapplication.cpp
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qprocessenvironment Test:
|
## tst_qprocessenvironment Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qprocessenvironment
|
qt_add_test(tst_qprocessenvironment
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qprocessenvironment.cpp
|
tst_qprocessenvironment.cpp
|
||||||
)
|
)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
# Collect test data
|
# Collect test data
|
||||||
list(APPEND test_data "tst_qsavefile.cpp")
|
list(APPEND test_data "tst_qsavefile.cpp")
|
||||||
|
|
||||||
add_qt_test(tst_qsavefile
|
qt_add_test(tst_qsavefile
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qsavefile.cpp
|
tst_qsavefile.cpp
|
||||||
TESTDATA ${test_data}
|
TESTDATA ${test_data}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qsettings Test:
|
## tst_qsettings Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qsettings
|
qt_add_test(tst_qsettings
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qsettings.cpp
|
tst_qsettings.cpp
|
||||||
DEFINES
|
DEFINES
|
||||||
@ -28,7 +28,7 @@ set(qsettings_resource_files
|
|||||||
"withcomments.ini"
|
"withcomments.ini"
|
||||||
)
|
)
|
||||||
|
|
||||||
add_qt_resource(tst_qsettings "qsettings"
|
qt_add_resource(tst_qsettings "qsettings"
|
||||||
PREFIX
|
PREFIX
|
||||||
"/"
|
"/"
|
||||||
FILES
|
FILES
|
||||||
@ -39,12 +39,12 @@ add_qt_resource(tst_qsettings "qsettings"
|
|||||||
## Scopes:
|
## Scopes:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
extend_target(tst_qsettings CONDITION MSVC
|
qt_extend_target(tst_qsettings CONDITION MSVC
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
advapi32
|
advapi32
|
||||||
)
|
)
|
||||||
|
|
||||||
extend_target(tst_qsettings CONDITION APPLE
|
qt_extend_target(tst_qsettings CONDITION APPLE
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
${FWCoreFoundation}
|
${FWCoreFoundation}
|
||||||
)
|
)
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
list(APPEND test_data "tst_qstandardpaths.cpp")
|
list(APPEND test_data "tst_qstandardpaths.cpp")
|
||||||
list(APPEND test_data "qstandardpaths.pro")
|
list(APPEND test_data "qstandardpaths.pro")
|
||||||
|
|
||||||
add_qt_test(tst_qstandardpaths
|
qt_add_test(tst_qstandardpaths
|
||||||
SOURCES
|
SOURCES
|
||||||
../../../../shared/emulationdetector.h
|
../../../../shared/emulationdetector.h
|
||||||
tst_qstandardpaths.cpp
|
tst_qstandardpaths.cpp
|
||||||
@ -20,7 +20,7 @@ add_qt_test(tst_qstandardpaths
|
|||||||
## Scopes:
|
## Scopes:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
extend_target(tst_qstandardpaths CONDITION boot2qt
|
qt_extend_target(tst_qstandardpaths CONDITION boot2qt
|
||||||
DEFINES
|
DEFINES
|
||||||
SKIP_FINDEXECUTABLE
|
SKIP_FINDEXECUTABLE
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qstorageinfo Test:
|
## tst_qstorageinfo Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qstorageinfo
|
qt_add_test(tst_qstorageinfo
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qstorageinfo.cpp
|
tst_qstorageinfo.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qtemporarydir Test:
|
## tst_qtemporarydir Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qtemporarydir
|
qt_add_test(tst_qtemporarydir
|
||||||
SOURCES
|
SOURCES
|
||||||
../../../../shared/emulationdetector.h
|
../../../../shared/emulationdetector.h
|
||||||
tst_qtemporarydir.cpp
|
tst_qtemporarydir.cpp
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
# Collect test data
|
# Collect test data
|
||||||
list(APPEND test_data "tst_qtemporaryfile.cpp")
|
list(APPEND test_data "tst_qtemporaryfile.cpp")
|
||||||
|
|
||||||
add_qt_test(tst_qtemporaryfile
|
qt_add_test(tst_qtemporaryfile
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtemporaryfile.cpp
|
tst_qtemporaryfile.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
@ -20,7 +20,7 @@ set(qtemporaryfile_resource_files
|
|||||||
"resources/test.txt"
|
"resources/test.txt"
|
||||||
)
|
)
|
||||||
|
|
||||||
add_qt_resource(tst_qtemporaryfile "qtemporaryfile"
|
qt_add_resource(tst_qtemporaryfile "qtemporaryfile"
|
||||||
PREFIX
|
PREFIX
|
||||||
"/"
|
"/"
|
||||||
FILES
|
FILES
|
||||||
@ -38,7 +38,7 @@ if(ANDROID AND NOT ANDROID_EMBEDDED)
|
|||||||
"tst_qtemporaryfile.cpp"
|
"tst_qtemporaryfile.cpp"
|
||||||
)
|
)
|
||||||
|
|
||||||
add_qt_resource(tst_qtemporaryfile "android_testdata"
|
qt_add_resource(tst_qtemporaryfile "android_testdata"
|
||||||
PREFIX
|
PREFIX
|
||||||
"/android_testdata"
|
"/android_testdata"
|
||||||
FILES
|
FILES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qurl Test:
|
## tst_qurl Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qurl
|
qt_add_test(tst_qurl
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qurl.cpp
|
tst_qurl.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
@ -14,7 +14,7 @@ add_qt_test(tst_qurl
|
|||||||
## Scopes:
|
## Scopes:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
extend_target(tst_qurl CONDITION APPLE
|
qt_extend_target(tst_qurl CONDITION APPLE
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qurl_mac.mm
|
tst_qurl_mac.mm
|
||||||
)
|
)
|
||||||
|
@ -8,7 +8,7 @@ endif()
|
|||||||
## tst_qurlinternal Test:
|
## tst_qurlinternal Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qurlinternal
|
qt_add_test(tst_qurlinternal
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qurlinternal.cpp
|
tst_qurlinternal.cpp
|
||||||
utf8data.cpp
|
utf8data.cpp
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qurlquery Test:
|
## tst_qurlquery Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qurlquery
|
qt_add_test(tst_qurlquery
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qurlquery.cpp
|
tst_qurlquery.cpp
|
||||||
DEFINES
|
DEFINES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qabstractitemmodel Test:
|
## tst_qabstractitemmodel Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qabstractitemmodel
|
qt_add_test(tst_qabstractitemmodel
|
||||||
SOURCES
|
SOURCES
|
||||||
../../../other/qabstractitemmodelutils/dynamictreemodel.cpp ../../../other/qabstractitemmodelutils/dynamictreemodel.h
|
../../../other/qabstractitemmodelutils/dynamictreemodel.cpp ../../../other/qabstractitemmodelutils/dynamictreemodel.h
|
||||||
tst_qabstractitemmodel.cpp
|
tst_qabstractitemmodel.cpp
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qabstractproxymodel Test:
|
## tst_qabstractproxymodel Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qabstractproxymodel
|
qt_add_test(tst_qabstractproxymodel
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qabstractproxymodel.cpp
|
tst_qabstractproxymodel.cpp
|
||||||
DEFINES
|
DEFINES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qconcatenatetablesproxymodel Test:
|
## tst_qconcatenatetablesproxymodel Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qconcatenatetablesproxymodel
|
qt_add_test(tst_qconcatenatetablesproxymodel
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qconcatenatetablesproxymodel.cpp
|
tst_qconcatenatetablesproxymodel.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qidentityproxymodel Test:
|
## tst_qidentityproxymodel Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qidentityproxymodel
|
qt_add_test(tst_qidentityproxymodel
|
||||||
SOURCES
|
SOURCES
|
||||||
../../../other/qabstractitemmodelutils/dynamictreemodel.cpp ../../../other/qabstractitemmodelutils/dynamictreemodel.h
|
../../../other/qabstractitemmodelutils/dynamictreemodel.cpp ../../../other/qabstractitemmodelutils/dynamictreemodel.h
|
||||||
tst_qidentityproxymodel.cpp
|
tst_qidentityproxymodel.cpp
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qitemmodel Test:
|
## tst_qitemmodel Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qitemmodel
|
qt_add_test(tst_qitemmodel
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qitemmodel.cpp
|
tst_qitemmodel.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qitemselectionmodel Test:
|
## tst_qitemselectionmodel Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qitemselectionmodel
|
qt_add_test(tst_qitemselectionmodel
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qitemselectionmodel.cpp
|
tst_qitemselectionmodel.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qsortfilterproxymodel_recursive Test:
|
## tst_qsortfilterproxymodel_recursive Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qsortfilterproxymodel_recursive
|
qt_add_test(tst_qsortfilterproxymodel_recursive
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qsortfilterproxymodel_recursive.cpp
|
tst_qsortfilterproxymodel_recursive.cpp
|
||||||
DEFINES
|
DEFINES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qsortfilterproxymodel_regularexpression Test:
|
## tst_qsortfilterproxymodel_regularexpression Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qsortfilterproxymodel_regularexpression
|
qt_add_test(tst_qsortfilterproxymodel_regularexpression
|
||||||
SOURCES
|
SOURCES
|
||||||
../../../other/qabstractitemmodelutils/dynamictreemodel.cpp ../../../other/qabstractitemmodelutils/dynamictreemodel.h
|
../../../other/qabstractitemmodelutils/dynamictreemodel.cpp ../../../other/qabstractitemmodelutils/dynamictreemodel.h
|
||||||
../qsortfilterproxymodel_common/tst_qsortfilterproxymodel.cpp ../qsortfilterproxymodel_common/tst_qsortfilterproxymodel.h
|
../qsortfilterproxymodel_common/tst_qsortfilterproxymodel.cpp ../qsortfilterproxymodel_common/tst_qsortfilterproxymodel.h
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qstringlistmodel Test:
|
## tst_qstringlistmodel Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qstringlistmodel
|
qt_add_test(tst_qstringlistmodel
|
||||||
SOURCES
|
SOURCES
|
||||||
qmodellistener.h
|
qmodellistener.h
|
||||||
tst_qstringlistmodel.cpp
|
tst_qstringlistmodel.cpp
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qtransposeproxymodel Test:
|
## tst_qtransposeproxymodel Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qtransposeproxymodel
|
qt_add_test(tst_qtransposeproxymodel
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtransposeproxymodel.cpp
|
tst_qtransposeproxymodel.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qdeadlinetimer Test:
|
## tst_qdeadlinetimer Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qdeadlinetimer
|
qt_add_test(tst_qdeadlinetimer
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdeadlinetimer.cpp
|
tst_qdeadlinetimer.cpp
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qelapsedtimer Test:
|
## tst_qelapsedtimer Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qelapsedtimer
|
qt_add_test(tst_qelapsedtimer
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qelapsedtimer.cpp
|
tst_qelapsedtimer.cpp
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qeventdispatcher Test:
|
## tst_qeventdispatcher Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qeventdispatcher
|
qt_add_test(tst_qeventdispatcher
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qeventdispatcher.cpp
|
tst_qeventdispatcher.cpp
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qeventloop Test:
|
## tst_qeventloop Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qeventloop
|
qt_add_test(tst_qeventloop
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qeventloop.cpp
|
tst_qeventloop.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
@ -15,12 +15,12 @@ add_qt_test(tst_qeventloop
|
|||||||
## Scopes:
|
## Scopes:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
extend_target(tst_qeventloop CONDITION WIN32
|
qt_extend_target(tst_qeventloop CONDITION WIN32
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
user32
|
user32
|
||||||
)
|
)
|
||||||
|
|
||||||
extend_target(tst_qeventloop CONDITION QT_FEATURE_glib
|
qt_extend_target(tst_qeventloop CONDITION QT_FEATURE_glib
|
||||||
DEFINES
|
DEFINES
|
||||||
HAVE_GLIB
|
HAVE_GLIB
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qmath Test:
|
## tst_qmath Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qmath
|
qt_add_test(tst_qmath
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qmath.cpp
|
tst_qmath.cpp
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qmetaenum Test:
|
## tst_qmetaenum Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qmetaenum
|
qt_add_test(tst_qmetaenum
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qmetaenum.cpp
|
tst_qmetaenum.cpp
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qmetamethod Test:
|
## tst_qmetamethod Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qmetamethod
|
qt_add_test(tst_qmetamethod
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qmetamethod.cpp
|
tst_qmetamethod.cpp
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qmetaobject Test:
|
## tst_qmetaobject Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qmetaobject
|
qt_add_test(tst_qmetaobject
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qmetaobject.cpp
|
tst_qmetaobject.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qmetaobjectbuilder Test:
|
## tst_qmetaobjectbuilder Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qmetaobjectbuilder
|
qt_add_test(tst_qmetaobjectbuilder
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qmetaobjectbuilder.cpp
|
tst_qmetaobjectbuilder.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qmetaproperty Test:
|
## tst_qmetaproperty Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qmetaproperty
|
qt_add_test(tst_qmetaproperty
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qmetaproperty.cpp
|
tst_qmetaproperty.cpp
|
||||||
)
|
)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
# Collect test data
|
# Collect test data
|
||||||
list(APPEND test_data "./typeFlags.bin")
|
list(APPEND test_data "./typeFlags.bin")
|
||||||
|
|
||||||
add_qt_test(tst_qmetatype
|
qt_add_test(tst_qmetatype
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qmetatype.cpp
|
tst_qmetatype.cpp
|
||||||
DEFINES
|
DEFINES
|
||||||
@ -22,7 +22,7 @@ add_qt_test(tst_qmetatype
|
|||||||
## Scopes:
|
## Scopes:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
extend_target(tst_qmetatype CONDITION MSVC
|
qt_extend_target(tst_qmetatype CONDITION MSVC
|
||||||
COMPILE_OPTIONS
|
COMPILE_OPTIONS
|
||||||
/bigobj
|
/bigobj
|
||||||
)
|
)
|
||||||
@ -31,7 +31,7 @@ extend_target(tst_qmetatype CONDITION MSVC
|
|||||||
# QMAKE_CFLAGS_RELEASE = "--O2" "--g"
|
# QMAKE_CFLAGS_RELEASE = "--O2" "--g"
|
||||||
# QMAKE_CXXFLAGS_RELEASE = "--O2" "--g"
|
# QMAKE_CXXFLAGS_RELEASE = "--O2" "--g"
|
||||||
|
|
||||||
extend_target(tst_qmetatype CONDITION CLANG AND (TEST_architecture_arch STREQUAL "arm")
|
qt_extend_target(tst_qmetatype CONDITION CLANG AND (TEST_architecture_arch STREQUAL "arm")
|
||||||
DEFINES
|
DEFINES
|
||||||
TST_QMETATYPE_BROKEN_COMPILER
|
TST_QMETATYPE_BROKEN_COMPILER
|
||||||
)
|
)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
# Collect test data
|
# Collect test data
|
||||||
list(APPEND test_data "./typeFlags.bin")
|
list(APPEND test_data "./typeFlags.bin")
|
||||||
|
|
||||||
add_qt_test(tst_qmetatype
|
qt_add_test(tst_qmetatype
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qmetatype.cpp
|
tst_qmetatype.cpp
|
||||||
DEFINES
|
DEFINES
|
||||||
@ -23,7 +23,7 @@ add_qt_test(tst_qmetatype
|
|||||||
## Scopes:
|
## Scopes:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
extend_target(tst_qmetatype CONDITION MSVC
|
qt_extend_target(tst_qmetatype CONDITION MSVC
|
||||||
COMPILE_OPTIONS
|
COMPILE_OPTIONS
|
||||||
/bigobj
|
/bigobj
|
||||||
)
|
)
|
||||||
@ -32,7 +32,7 @@ extend_target(tst_qmetatype CONDITION MSVC
|
|||||||
# QMAKE_CFLAGS_RELEASE = "--O2" "--g"
|
# QMAKE_CFLAGS_RELEASE = "--O2" "--g"
|
||||||
# QMAKE_CXXFLAGS_RELEASE = "--O2" "--g"
|
# QMAKE_CXXFLAGS_RELEASE = "--O2" "--g"
|
||||||
|
|
||||||
extend_target(tst_qmetatype CONDITION CLANG AND (TEST_architecture_arch STREQUAL "arm")
|
qt_extend_target(tst_qmetatype CONDITION CLANG AND (TEST_architecture_arch STREQUAL "arm")
|
||||||
DEFINES
|
DEFINES
|
||||||
TST_QMETATYPE_BROKEN_COMPILER
|
TST_QMETATYPE_BROKEN_COMPILER
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qmimedata Test:
|
## tst_qmimedata Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qmimedata
|
qt_add_test(tst_qmimedata
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qmimedata.cpp
|
tst_qmimedata.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## signalbug_helper Binary:
|
## signalbug_helper Binary:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test_helper(signalbug_helper
|
qt_add_test_helper(signalbug_helper
|
||||||
SOURCES
|
SOURCES
|
||||||
signalbug.cpp signalbug.h
|
signalbug.cpp signalbug.h
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qpointer Test:
|
## tst_qpointer Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qpointer
|
qt_add_test(tst_qpointer
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qpointer.cpp
|
tst_qpointer.cpp
|
||||||
)
|
)
|
||||||
@ -12,7 +12,7 @@ add_qt_test(tst_qpointer
|
|||||||
## Scopes:
|
## Scopes:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
extend_target(tst_qpointer CONDITION TARGET Qt::Widgets
|
qt_extend_target(tst_qpointer CONDITION TARGET Qt::Widgets
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
Qt::Widgets
|
Qt::Widgets
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## producerconsumer_helper Binary:
|
## producerconsumer_helper Binary:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test_helper(producerconsumer_helper
|
qt_add_test_helper(producerconsumer_helper
|
||||||
SOURCES
|
SOURCES
|
||||||
main.cpp
|
main.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qsignalblocker Test:
|
## tst_qsignalblocker Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qsignalblocker
|
qt_add_test(tst_qsignalblocker
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qsignalblocker.cpp
|
tst_qsignalblocker.cpp
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qsignalmapper Test:
|
## tst_qsignalmapper Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qsignalmapper
|
qt_add_test(tst_qsignalmapper
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qsignalmapper.cpp
|
tst_qsignalmapper.cpp
|
||||||
)
|
)
|
||||||
|
@ -8,7 +8,7 @@ endif()
|
|||||||
## tst_qsocketnotifier Test:
|
## tst_qsocketnotifier Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qsocketnotifier
|
qt_add_test(tst_qsocketnotifier
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qsocketnotifier.cpp
|
tst_qsocketnotifier.cpp
|
||||||
INCLUDE_DIRECTORIES
|
INCLUDE_DIRECTORIES
|
||||||
@ -25,7 +25,7 @@ add_qt_test(tst_qsocketnotifier
|
|||||||
## Scopes:
|
## Scopes:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
extend_target(tst_qsocketnotifier CONDITION WIN32
|
qt_extend_target(tst_qsocketnotifier CONDITION WIN32
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
ws2_32
|
ws2_32
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## acquirerelease_helper Binary:
|
## acquirerelease_helper Binary:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test_helper(acquirerelease_helper
|
qt_add_test_helper(acquirerelease_helper
|
||||||
SOURCES
|
SOURCES
|
||||||
main.cpp
|
main.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qtimer Test:
|
## tst_qtimer Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qtimer
|
qt_add_test(tst_qtimer
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtimer.cpp
|
tst_qtimer.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qtranslator Test:
|
## tst_qtranslator Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qtranslator
|
qt_add_test(tst_qtranslator
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtranslator.cpp
|
tst_qtranslator.cpp
|
||||||
)
|
)
|
||||||
@ -15,7 +15,7 @@ set(qtranslator_resource_files
|
|||||||
"hellotr_la.qm"
|
"hellotr_la.qm"
|
||||||
)
|
)
|
||||||
|
|
||||||
add_qt_resource(tst_qtranslator "qtranslator"
|
qt_add_resource(tst_qtranslator "qtranslator"
|
||||||
PREFIX
|
PREFIX
|
||||||
"/tst_qtranslator"
|
"/tst_qtranslator"
|
||||||
FILES
|
FILES
|
||||||
@ -35,7 +35,7 @@ if(ANDROID AND NOT ANDROID_EMBEDDED)
|
|||||||
"msgfmt_from_po.qm"
|
"msgfmt_from_po.qm"
|
||||||
)
|
)
|
||||||
|
|
||||||
add_qt_resource(tst_qtranslator "android_testdata"
|
qt_add_resource(tst_qtranslator "android_testdata"
|
||||||
PREFIX
|
PREFIX
|
||||||
"/android_testdata"
|
"/android_testdata"
|
||||||
FILES
|
FILES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qvariant Test:
|
## tst_qvariant Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qvariant
|
qt_add_test(tst_qvariant
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qvariant.cpp
|
tst_qvariant.cpp
|
||||||
DEFINES
|
DEFINES
|
||||||
@ -21,7 +21,7 @@ set(qvariant_resource_files
|
|||||||
"stream/qt5.0/"
|
"stream/qt5.0/"
|
||||||
)
|
)
|
||||||
|
|
||||||
add_qt_resource(tst_qvariant "qvariant"
|
qt_add_resource(tst_qvariant "qvariant"
|
||||||
PREFIX
|
PREFIX
|
||||||
"/"
|
"/"
|
||||||
FILES
|
FILES
|
||||||
@ -32,7 +32,7 @@ add_qt_resource(tst_qvariant "qvariant"
|
|||||||
## Scopes:
|
## Scopes:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
extend_target(tst_qvariant CONDITION NOT QT_FEATURE_doubleconversion AND NOT QT_FEATURE_system_doubleconversion
|
qt_extend_target(tst_qvariant CONDITION NOT QT_FEATURE_doubleconversion AND NOT QT_FEATURE_system_doubleconversion
|
||||||
DEFINES
|
DEFINES
|
||||||
QT_NO_DOUBLECONVERSION
|
QT_NO_DOUBLECONVERSION
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qwineventnotifier Test:
|
## tst_qwineventnotifier Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qwineventnotifier
|
qt_add_test(tst_qwineventnotifier
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qwineventnotifier.cpp
|
tst_qwineventnotifier.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
|
@ -8,7 +8,7 @@ endif()
|
|||||||
## tst_qmimedatabase-cache Test:
|
## tst_qmimedatabase-cache Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qmimedatabase-cache
|
qt_add_test(tst_qmimedatabase-cache
|
||||||
SOURCES
|
SOURCES
|
||||||
../tst_qmimedatabase.h
|
../tst_qmimedatabase.h
|
||||||
tst_qmimedatabase-cache.cpp
|
tst_qmimedatabase-cache.cpp
|
||||||
@ -17,18 +17,18 @@ add_qt_test(tst_qmimedatabase-cache
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Resources:
|
# Resources:
|
||||||
set_source_files_properties("/devel/work/qt-cmake/qtbase/src/corelib/mimetypes/mime/packages/freedesktop.org.xml"
|
set_source_files_properties("/Volumes/T3/Dev/qt/qt5_cmake/qtbase/src/corelib/mimetypes/mime/packages/freedesktop.org.xml"
|
||||||
PROPERTIES QT_RESOURCE_ALIAS "freedesktop.org.xml"
|
PROPERTIES QT_RESOURCE_ALIAS "freedesktop.org.xml"
|
||||||
)
|
)
|
||||||
set(mimetypes_resource_files
|
set(mimetypes_resource_files
|
||||||
"mime/packages/freedesktop.org.xml"
|
"mime/packages/freedesktop.org.xml"
|
||||||
)
|
)
|
||||||
|
|
||||||
add_qt_resource(tst_qmimedatabase-cache "mimetypes"
|
qt_add_resource(tst_qmimedatabase-cache "mimetypes"
|
||||||
PREFIX
|
PREFIX
|
||||||
"/qt-project.org/qmime/packages"
|
"/qt-project.org/qmime/packages"
|
||||||
BASE
|
BASE
|
||||||
"/devel/work/qt-cmake/qtbase/src/corelib/mimetypes"
|
"/Volumes/T3/Dev/qt/qt5_cmake/qtbase/src/corelib/mimetypes"
|
||||||
FILES
|
FILES
|
||||||
${mimetypes_resource_files}
|
${mimetypes_resource_files}
|
||||||
)
|
)
|
||||||
@ -75,7 +75,7 @@ set(testdata_resource_files
|
|||||||
"yast2-metapackage-handler-mimetypes.xml"
|
"yast2-metapackage-handler-mimetypes.xml"
|
||||||
)
|
)
|
||||||
|
|
||||||
add_qt_resource(tst_qmimedatabase-cache "testdata"
|
qt_add_resource(tst_qmimedatabase-cache "testdata"
|
||||||
PREFIX
|
PREFIX
|
||||||
"/qt-project.org/qmime"
|
"/qt-project.org/qmime"
|
||||||
BASE
|
BASE
|
||||||
@ -91,7 +91,7 @@ add_qt_resource(tst_qmimedatabase-cache "testdata"
|
|||||||
## Scopes:
|
## Scopes:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
extend_target(tst_qmimedatabase-cache CONDITION GCC
|
qt_extend_target(tst_qmimedatabase-cache CONDITION GCC
|
||||||
COMPILE_OPTIONS
|
COMPILE_OPTIONS
|
||||||
-W
|
-W
|
||||||
-Wall
|
-Wall
|
||||||
@ -101,7 +101,7 @@ extend_target(tst_qmimedatabase-cache CONDITION GCC
|
|||||||
-Wshadow
|
-Wshadow
|
||||||
)
|
)
|
||||||
|
|
||||||
extend_target(tst_qmimedatabase-cache CONDITION UNIX AND NOT APPLE AND NOT QNX
|
qt_extend_target(tst_qmimedatabase-cache CONDITION UNIX AND NOT APPLE AND NOT QNX
|
||||||
DEFINES
|
DEFINES
|
||||||
USE_XDG_DATA_DIRS
|
USE_XDG_DATA_DIRS
|
||||||
)
|
)
|
||||||
|
@ -8,7 +8,7 @@ endif()
|
|||||||
## tst_qmimedatabase-cache Test:
|
## tst_qmimedatabase-cache Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qmimedatabase-cache
|
qt_add_test(tst_qmimedatabase-cache
|
||||||
SOURCES
|
SOURCES
|
||||||
../tst_qmimedatabase.h
|
../tst_qmimedatabase.h
|
||||||
tst_qmimedatabase-cache.cpp
|
tst_qmimedatabase-cache.cpp
|
||||||
@ -66,7 +66,7 @@ set(testdata_resource_files
|
|||||||
"yast2-metapackage-handler-mimetypes.xml"
|
"yast2-metapackage-handler-mimetypes.xml"
|
||||||
)
|
)
|
||||||
|
|
||||||
add_qt_resource(tst_qmimedatabase-cache "testdata"
|
qt_add_resource(tst_qmimedatabase-cache "testdata"
|
||||||
PREFIX
|
PREFIX
|
||||||
"/qt-project.org/qmime"
|
"/qt-project.org/qmime"
|
||||||
BASE
|
BASE
|
||||||
@ -87,7 +87,7 @@ corelib_add_mimetypes_resources(tst_qmimedatabase-cache)
|
|||||||
## Scopes:
|
## Scopes:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
extend_target(tst_qmimedatabase-cache CONDITION GCC
|
qt_extend_target(tst_qmimedatabase-cache CONDITION GCC
|
||||||
COMPILE_OPTIONS
|
COMPILE_OPTIONS
|
||||||
-W
|
-W
|
||||||
-Wall
|
-Wall
|
||||||
@ -97,7 +97,7 @@ extend_target(tst_qmimedatabase-cache CONDITION GCC
|
|||||||
-Wshadow
|
-Wshadow
|
||||||
)
|
)
|
||||||
|
|
||||||
extend_target(tst_qmimedatabase-cache CONDITION UNIX AND NOT APPLE AND NOT QNX
|
qt_extend_target(tst_qmimedatabase-cache CONDITION UNIX AND NOT APPLE AND NOT QNX
|
||||||
DEFINES
|
DEFINES
|
||||||
USE_XDG_DATA_DIRS
|
USE_XDG_DATA_DIRS
|
||||||
)
|
)
|
||||||
|
@ -8,7 +8,7 @@ endif()
|
|||||||
## tst_qmimedatabase-xml Test:
|
## tst_qmimedatabase-xml Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qmimedatabase-xml
|
qt_add_test(tst_qmimedatabase-xml
|
||||||
SOURCES
|
SOURCES
|
||||||
../tst_qmimedatabase.h
|
../tst_qmimedatabase.h
|
||||||
tst_qmimedatabase-xml.cpp
|
tst_qmimedatabase-xml.cpp
|
||||||
@ -17,18 +17,18 @@ add_qt_test(tst_qmimedatabase-xml
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Resources:
|
# Resources:
|
||||||
set_source_files_properties("/devel/work/qt-cmake/qtbase/src/corelib/mimetypes/mime/packages/freedesktop.org.xml"
|
set_source_files_properties("/Volumes/T3/Dev/qt/qt5_cmake/qtbase/src/corelib/mimetypes/mime/packages/freedesktop.org.xml"
|
||||||
PROPERTIES QT_RESOURCE_ALIAS "freedesktop.org.xml"
|
PROPERTIES QT_RESOURCE_ALIAS "freedesktop.org.xml"
|
||||||
)
|
)
|
||||||
set(mimetypes_resource_files
|
set(mimetypes_resource_files
|
||||||
"mime/packages/freedesktop.org.xml"
|
"mime/packages/freedesktop.org.xml"
|
||||||
)
|
)
|
||||||
|
|
||||||
add_qt_resource(tst_qmimedatabase-xml "mimetypes"
|
qt_add_resource(tst_qmimedatabase-xml "mimetypes"
|
||||||
PREFIX
|
PREFIX
|
||||||
"/qt-project.org/qmime/packages"
|
"/qt-project.org/qmime/packages"
|
||||||
BASE
|
BASE
|
||||||
"/devel/work/qt-cmake/qtbase/src/corelib/mimetypes"
|
"/Volumes/T3/Dev/qt/qt5_cmake/qtbase/src/corelib/mimetypes"
|
||||||
FILES
|
FILES
|
||||||
${mimetypes_resource_files}
|
${mimetypes_resource_files}
|
||||||
)
|
)
|
||||||
@ -75,7 +75,7 @@ set(testdata_resource_files
|
|||||||
"yast2-metapackage-handler-mimetypes.xml"
|
"yast2-metapackage-handler-mimetypes.xml"
|
||||||
)
|
)
|
||||||
|
|
||||||
add_qt_resource(tst_qmimedatabase-xml "testdata"
|
qt_add_resource(tst_qmimedatabase-xml "testdata"
|
||||||
PREFIX
|
PREFIX
|
||||||
"/qt-project.org/qmime"
|
"/qt-project.org/qmime"
|
||||||
BASE
|
BASE
|
||||||
@ -91,7 +91,7 @@ add_qt_resource(tst_qmimedatabase-xml "testdata"
|
|||||||
## Scopes:
|
## Scopes:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
extend_target(tst_qmimedatabase-xml CONDITION GCC
|
qt_extend_target(tst_qmimedatabase-xml CONDITION GCC
|
||||||
COMPILE_OPTIONS
|
COMPILE_OPTIONS
|
||||||
-W
|
-W
|
||||||
-Wall
|
-Wall
|
||||||
@ -101,7 +101,7 @@ extend_target(tst_qmimedatabase-xml CONDITION GCC
|
|||||||
-Wshadow
|
-Wshadow
|
||||||
)
|
)
|
||||||
|
|
||||||
extend_target(tst_qmimedatabase-xml CONDITION UNIX AND NOT APPLE AND NOT QNX
|
qt_extend_target(tst_qmimedatabase-xml CONDITION UNIX AND NOT APPLE AND NOT QNX
|
||||||
DEFINES
|
DEFINES
|
||||||
USE_XDG_DATA_DIRS
|
USE_XDG_DATA_DIRS
|
||||||
)
|
)
|
||||||
|
@ -8,7 +8,7 @@ endif()
|
|||||||
## tst_qmimedatabase-xml Test:
|
## tst_qmimedatabase-xml Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qmimedatabase-xml
|
qt_add_test(tst_qmimedatabase-xml
|
||||||
SOURCES
|
SOURCES
|
||||||
../tst_qmimedatabase.h
|
../tst_qmimedatabase.h
|
||||||
tst_qmimedatabase-xml.cpp
|
tst_qmimedatabase-xml.cpp
|
||||||
@ -66,7 +66,7 @@ set(testdata_resource_files
|
|||||||
"yast2-metapackage-handler-mimetypes.xml"
|
"yast2-metapackage-handler-mimetypes.xml"
|
||||||
)
|
)
|
||||||
|
|
||||||
add_qt_resource(tst_qmimedatabase-xml "testdata"
|
qt_add_resource(tst_qmimedatabase-xml "testdata"
|
||||||
PREFIX
|
PREFIX
|
||||||
"/qt-project.org/qmime"
|
"/qt-project.org/qmime"
|
||||||
BASE
|
BASE
|
||||||
@ -87,7 +87,7 @@ corelib_add_mimetypes_resources(tst_qmimedatabase-xml)
|
|||||||
## Scopes:
|
## Scopes:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
extend_target(tst_qmimedatabase-xml CONDITION GCC
|
qt_extend_target(tst_qmimedatabase-xml CONDITION GCC
|
||||||
COMPILE_OPTIONS
|
COMPILE_OPTIONS
|
||||||
-W
|
-W
|
||||||
-Wall
|
-Wall
|
||||||
@ -97,7 +97,7 @@ extend_target(tst_qmimedatabase-xml CONDITION GCC
|
|||||||
-Wshadow
|
-Wshadow
|
||||||
)
|
)
|
||||||
|
|
||||||
extend_target(tst_qmimedatabase-xml CONDITION UNIX AND NOT APPLE AND NOT QNX
|
qt_extend_target(tst_qmimedatabase-xml CONDITION UNIX AND NOT APPLE AND NOT QNX
|
||||||
DEFINES
|
DEFINES
|
||||||
USE_XDG_DATA_DIRS
|
USE_XDG_DATA_DIRS
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qmimetype Test:
|
## tst_qmimetype Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qmimetype
|
qt_add_test(tst_qmimetype
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qmimetype.cpp
|
tst_qmimetype.cpp
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## plugin1 Generic Library:
|
## plugin1 Generic Library:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_cmake_library(plugin1
|
qt_add_cmake_library(plugin1
|
||||||
MODULE
|
MODULE
|
||||||
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qfactoryloader/bin"
|
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qfactoryloader/bin"
|
||||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../bin"
|
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../bin"
|
||||||
@ -22,7 +22,7 @@ add_cmake_library(plugin1
|
|||||||
## Scopes:
|
## Scopes:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
extend_target(plugin1 CONDITION NOT QT_FEATURE_library
|
qt_extend_target(plugin1 CONDITION NOT QT_FEATURE_library
|
||||||
DEFINES
|
DEFINES
|
||||||
QT_STATICPLUGIN
|
QT_STATICPLUGIN
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## plugin2 Generic Library:
|
## plugin2 Generic Library:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_cmake_library(plugin2
|
qt_add_cmake_library(plugin2
|
||||||
MODULE
|
MODULE
|
||||||
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qfactoryloader/bin"
|
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qfactoryloader/bin"
|
||||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../bin"
|
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../bin"
|
||||||
@ -22,7 +22,7 @@ add_cmake_library(plugin2
|
|||||||
## Scopes:
|
## Scopes:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
extend_target(plugin2 CONDITION NOT QT_FEATURE_library
|
qt_extend_target(plugin2 CONDITION NOT QT_FEATURE_library
|
||||||
DEFINES
|
DEFINES
|
||||||
QT_STATICPLUGIN
|
QT_STATICPLUGIN
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qfactoryloader Test:
|
## tst_qfactoryloader Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qfactoryloader
|
qt_add_test(tst_qfactoryloader
|
||||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
|
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
|
||||||
SOURCES
|
SOURCES
|
||||||
../plugin1/plugininterface1.h
|
../plugin1/plugininterface1.h
|
||||||
@ -17,7 +17,7 @@ add_qt_test(tst_qfactoryloader
|
|||||||
## Scopes:
|
## Scopes:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
extend_target(tst_qfactoryloader CONDITION NOT QT_FEATURE_library
|
qt_extend_target(tst_qfactoryloader CONDITION NOT QT_FEATURE_library
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
# Remove: L
|
# Remove: L
|
||||||
../bin/
|
../bin/
|
||||||
@ -31,7 +31,7 @@ if(ANDROID)
|
|||||||
${CMAKE_CURRENT_BINARY_DIR}/../bin
|
${CMAKE_CURRENT_BINARY_DIR}/../bin
|
||||||
)
|
)
|
||||||
|
|
||||||
add_qt_resource(tst_qfactoryloader "qmake_libs"
|
qt_add_resource(tst_qfactoryloader "qmake_libs"
|
||||||
PREFIX
|
PREFIX
|
||||||
"android_test_data"
|
"android_test_data"
|
||||||
BASE
|
BASE
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## tst_qfactoryloader Test:
|
## tst_qfactoryloader Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_qt_test(tst_qfactoryloader
|
qt_add_test(tst_qfactoryloader
|
||||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
|
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
|
||||||
SOURCES
|
SOURCES
|
||||||
../plugin1/plugininterface1.h
|
../plugin1/plugininterface1.h
|
||||||
@ -23,7 +23,7 @@ if (NOT QT_FEATURE_library)
|
|||||||
endif()
|
endif()
|
||||||
# special case end
|
# special case end
|
||||||
|
|
||||||
extend_target(tst_qfactoryloader CONDITION NOT QT_FEATURE_library
|
qt_extend_target(tst_qfactoryloader CONDITION NOT QT_FEATURE_library
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
# Remove: L
|
# Remove: L
|
||||||
# special case begin
|
# special case begin
|
||||||
@ -57,7 +57,7 @@ if(ANDROID)
|
|||||||
endif()
|
endif()
|
||||||
# special case end
|
# special case end
|
||||||
|
|
||||||
add_qt_resource(tst_qfactoryloader "qmake_libs"
|
qt_add_resource(tst_qfactoryloader "qmake_libs"
|
||||||
PREFIX
|
PREFIX
|
||||||
"android_test_data"
|
"android_test_data"
|
||||||
BASE
|
BASE
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## mylib Generic Library:
|
## mylib Generic Library:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_cmake_library(mylib
|
qt_add_cmake_library(mylib
|
||||||
SHARED
|
SHARED
|
||||||
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qlibrary"
|
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qlibrary"
|
||||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
|
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
|
||||||
@ -22,7 +22,7 @@ add_cmake_library(mylib
|
|||||||
## Scopes:
|
## Scopes:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
extend_target(mylib CONDITION MSVC
|
qt_extend_target(mylib CONDITION MSVC
|
||||||
DEFINES
|
DEFINES
|
||||||
WIN32_MSVC
|
WIN32_MSVC
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
## mylib Generic Library:
|
## mylib Generic Library:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
add_cmake_library(mylib
|
qt_add_cmake_library(mylib
|
||||||
SHARED
|
SHARED
|
||||||
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qlibrary"
|
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qlibrary"
|
||||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
|
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
|
||||||
@ -37,7 +37,7 @@ endif()
|
|||||||
## Scopes:
|
## Scopes:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
extend_target(mylib CONDITION MSVC
|
qt_extend_target(mylib CONDITION MSVC
|
||||||
DEFINES
|
DEFINES
|
||||||
WIN32_MSVC
|
WIN32_MSVC
|
||||||
)
|
)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
# Collect test data
|
# Collect test data
|
||||||
list(APPEND test_data "../library_path/invalid.so")
|
list(APPEND test_data "../library_path/invalid.so")
|
||||||
|
|
||||||
add_qt_test(tst_qlibrary
|
qt_add_test(tst_qlibrary
|
||||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
|
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
|
||||||
SOURCES
|
SOURCES
|
||||||
../tst_qlibrary.cpp
|
../tst_qlibrary.cpp
|
||||||
@ -26,7 +26,7 @@ if(ANDROID)
|
|||||||
${CMAKE_CURRENT_BINARY_DIR}/../system.qt.test.mylib.so
|
${CMAKE_CURRENT_BINARY_DIR}/../system.qt.test.mylib.so
|
||||||
)
|
)
|
||||||
|
|
||||||
add_qt_resource(tst_qlibrary "qmake_libs"
|
qt_add_resource(tst_qlibrary "qmake_libs"
|
||||||
PREFIX
|
PREFIX
|
||||||
"android_test_data"
|
"android_test_data"
|
||||||
BASE
|
BASE
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
# Collect test data
|
# Collect test data
|
||||||
list(APPEND test_data "../library_path/invalid.so")
|
list(APPEND test_data "../library_path/invalid.so")
|
||||||
|
|
||||||
add_qt_test(tst_qlibrary
|
qt_add_test(tst_qlibrary
|
||||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
|
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
|
||||||
SOURCES
|
SOURCES
|
||||||
../tst_qlibrary.cpp
|
../tst_qlibrary.cpp
|
||||||
@ -39,7 +39,7 @@ if(ANDROID)
|
|||||||
# special case end
|
# special case end
|
||||||
)
|
)
|
||||||
|
|
||||||
add_qt_resource(tst_qlibrary "qmake_libs"
|
qt_add_resource(tst_qlibrary "qmake_libs"
|
||||||
PREFIX
|
PREFIX
|
||||||
"android_test_data"
|
"android_test_data"
|
||||||
BASE
|
BASE
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user