Regenerate CMakeLists for tests/corelib/io
Only qdir, qlockfile, qprocess and qresourceengine were manually disabled, otherwise all other builds fine on linux. Change-Id: I09fd0ffffb778057d6bf9c25cad1fcd73fb7e530 Reviewed-by: Qt CMake Build Bot Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
e614e837fa
commit
d87cd5cb2e
15
tests/auto/corelib/io/qdebug/CMakeLists.txt
Normal file
15
tests/auto/corelib/io/qdebug/CMakeLists.txt
Normal file
@ -0,0 +1,15 @@
|
||||
# Generated from qdebug.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qdebug Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qdebug
|
||||
SOURCES
|
||||
tst_qdebug.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Concurrent
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qdebug.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
30
tests/auto/corelib/io/qdiriterator/CMakeLists.txt
Normal file
30
tests/auto/corelib/io/qdiriterator/CMakeLists.txt
Normal file
@ -0,0 +1,30 @@
|
||||
# Generated from qdiriterator.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qdiriterator Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qdiriterator
|
||||
SOURCES
|
||||
tst_qdiriterator.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
)
|
||||
|
||||
# Resources:
|
||||
add_qt_resource(tst_qdiriterator "qdiriterator" PREFIX "/testdata/" FILES
|
||||
entrylist/directory/dummy
|
||||
entrylist/file)
|
||||
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qdiriterator.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
||||
# TESTDATA = "entrylist"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(tst_qdiriterator CONDITION CONFIG___contains___builtin_testdata
|
||||
DEFINES
|
||||
BUILTIN_TESTDATA
|
||||
)
|
56
tests/auto/corelib/io/qfile/CMakeLists.txt
Normal file
56
tests/auto/corelib/io/qfile/CMakeLists.txt
Normal file
@ -0,0 +1,56 @@
|
||||
# Generated from qfile.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qfile Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qfile
|
||||
SOURCES
|
||||
../../../../shared/emulationdetector.h
|
||||
tst_qfile.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../../../../shared
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
)
|
||||
|
||||
# Resources:
|
||||
add_qt_resource(tst_qfile "qfile" PREFIX "/tst_qfileinfo/" FILES
|
||||
resources/)
|
||||
add_qt_resource(tst_qfile "rename-fallback" FILES
|
||||
rename-fallback.qrc)
|
||||
add_qt_resource(tst_qfile "copy-fallback" FILES
|
||||
copy-fallback.qrc)
|
||||
|
||||
|
||||
#### Keys ignored in scope 3:.:.:test.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
||||
# TESTDATA = "BLACKLIST" "dosfile.txt" "noendofline.txt" "testfile.txt" "testlog.txt" "two.dots.file" "tst_qfile.cpp" "Makefile" "forCopying.txt" "forRenaming.txt" "resources/file1.ext1"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(tst_qfile CONDITION TARGET Qt::Network
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Network
|
||||
)
|
||||
|
||||
extend_target(tst_qfile CONDITION NOT (TARGET Qt::Network)
|
||||
DEFINES
|
||||
QT_NO_NETWORK
|
||||
)
|
||||
|
||||
extend_target(tst_qfile CONDITION CONFIG___contains___builtin_testdata
|
||||
DEFINES
|
||||
BUILTIN_TESTDATA
|
||||
)
|
||||
|
||||
extend_target(tst_qfile CONDITION WIN32 AND NOT WINRT
|
||||
PUBLIC_LIBRARIES
|
||||
ole32
|
||||
uuid
|
||||
)
|
||||
|
||||
if(NOT WINRT)
|
||||
add_subdirectory(stdinprocess)
|
||||
endif()
|
14
tests/auto/corelib/io/qfile/stdinprocess/CMakeLists.txt
Normal file
14
tests/auto/corelib/io/qfile/stdinprocess/CMakeLists.txt
Normal file
@ -0,0 +1,14 @@
|
||||
# Generated from stdinprocess.pro.
|
||||
|
||||
#####################################################################
|
||||
## stdinprocess Binary:
|
||||
#####################################################################
|
||||
|
||||
add_qt_executable(stdinprocess
|
||||
GUI
|
||||
SOURCES
|
||||
main.cpp
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:stdinprocess.pro:<TRUE>:
|
||||
# _LOADED = "qt_test_helper"
|
34
tests/auto/corelib/io/qfileinfo/CMakeLists.txt
Normal file
34
tests/auto/corelib/io/qfileinfo/CMakeLists.txt
Normal file
@ -0,0 +1,34 @@
|
||||
# Generated from qfileinfo.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qfileinfo Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qfileinfo
|
||||
SOURCES
|
||||
tst_qfileinfo.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
)
|
||||
|
||||
# Resources:
|
||||
add_qt_resource(tst_qfileinfo "qfileinfo" PREFIX "/tst_qfileinfo/" FILES
|
||||
resources/)
|
||||
add_qt_resource(tst_qfileinfo "testdata" PREFIX "/testdata" FILES
|
||||
resources/file1
|
||||
resources/file1.ext1
|
||||
resources/file1.ext1.ext2
|
||||
tst_qfileinfo.cpp)
|
||||
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qfileinfo.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(tst_qfileinfo CONDITION WIN32 AND NOT WINRT
|
||||
PUBLIC_LIBRARIES
|
||||
advapi32
|
||||
netapi32
|
||||
)
|
66
tests/auto/corelib/io/qfileselector/CMakeLists.txt
Normal file
66
tests/auto/corelib/io/qfileselector/CMakeLists.txt
Normal file
@ -0,0 +1,66 @@
|
||||
# Generated from qfileselector.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qfileselectors Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qfileselectors
|
||||
SOURCES
|
||||
tst_qfileselector.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
)
|
||||
|
||||
# Resources:
|
||||
add_qt_resource(tst_qfileselectors "qfileselector" PREFIX "/" FILES
|
||||
extras/+custom1/test
|
||||
extras/+custom1/test3
|
||||
extras/+custom2/test
|
||||
extras/+custom3/+custom2/test
|
||||
extras/+custom3/+custom4/test
|
||||
extras/+custom3/+custom5/test
|
||||
extras/+custom3/test
|
||||
extras/+custom5/+custom3/test
|
||||
extras/test
|
||||
extras/test2
|
||||
platforms/+android/test
|
||||
platforms/+android/test2
|
||||
platforms/+darwin/test
|
||||
platforms/+haiku/test
|
||||
platforms/+haiku/test2
|
||||
platforms/+ios/test
|
||||
platforms/+ios/test2
|
||||
platforms/+linux/test
|
||||
platforms/+linux/test2
|
||||
platforms/+macos/test
|
||||
platforms/+macos/test2
|
||||
platforms/+qnx/test
|
||||
platforms/+qnx/test2
|
||||
platforms/+unix/+android/test
|
||||
platforms/+unix/+darwin/+ios/test
|
||||
platforms/+unix/+darwin/+macos/test
|
||||
platforms/+unix/+darwin/test
|
||||
platforms/+unix/+haiku/test
|
||||
platforms/+unix/+linux/test
|
||||
platforms/+unix/+qnx/test
|
||||
platforms/+unix/test
|
||||
platforms/+unix/test3
|
||||
platforms/+wince/test
|
||||
platforms/+wince/test2
|
||||
platforms/+windows/+wince/test
|
||||
platforms/+windows/+winnt/test
|
||||
platforms/+windows/+winrt/test
|
||||
platforms/+windows/test
|
||||
platforms/+windows/test3
|
||||
platforms/+winnt/test2
|
||||
platforms/+winrt/test
|
||||
platforms/+winrt/test2
|
||||
platforms/test
|
||||
platforms/test2
|
||||
platforms/test3
|
||||
platforms/test4
|
||||
platforms/test5)
|
||||
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qfileselector.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
15
tests/auto/corelib/io/qfilesystemmetadata/CMakeLists.txt
Normal file
15
tests/auto/corelib/io/qfilesystemmetadata/CMakeLists.txt
Normal file
@ -0,0 +1,15 @@
|
||||
# Generated from qfilesystemmetadata.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qfilesystemmetadata Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qfilesystemmetadata
|
||||
SOURCES
|
||||
tst_qfilesystemmetadata.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qfilesystemmetadata.pro:<TRUE>:
|
||||
# CONFIG = "testcase" "parallel_test"
|
25
tests/auto/corelib/io/qiodevice/CMakeLists.txt
Normal file
25
tests/auto/corelib/io/qiodevice/CMakeLists.txt
Normal file
@ -0,0 +1,25 @@
|
||||
# Generated from qiodevice.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qiodevice Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qiodevice
|
||||
SOURCES
|
||||
tst_qiodevice.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Network
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qiodevice.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
||||
# MOC_DIR = "tmp"
|
||||
# TESTDATA = "tst_qiodevice.cpp"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
# Resources:
|
||||
add_qt_resource(tst_qiodevice "android_testdata" PREFIX "/" FILES
|
||||
tst_qiodevice.cpp)
|
||||
|
25
tests/auto/corelib/io/qloggingregistry/CMakeLists.txt
Normal file
25
tests/auto/corelib/io/qloggingregistry/CMakeLists.txt
Normal file
@ -0,0 +1,25 @@
|
||||
# Generated from qloggingregistry.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qloggingregistry Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qloggingregistry
|
||||
SOURCES
|
||||
tst_qloggingregistry.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qloggingregistry.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
||||
# TEMPLATE = "app"
|
||||
# TESTDATA = "qtlogging.ini"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
# Resources:
|
||||
add_qt_resource(tst_qloggingregistry "android_testdata" PREFIX "/" FILES
|
||||
qtlogging.ini)
|
||||
|
14
tests/auto/corelib/io/qsavefile/CMakeLists.txt
Normal file
14
tests/auto/corelib/io/qsavefile/CMakeLists.txt
Normal file
@ -0,0 +1,14 @@
|
||||
# Generated from qsavefile.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qsavefile Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qsavefile
|
||||
SOURCES
|
||||
tst_qsavefile.cpp
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qsavefile.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
||||
# TESTDATA = "tst_qsavefile.cpp"
|
46
tests/auto/corelib/io/qsettings/CMakeLists.txt
Normal file
46
tests/auto/corelib/io/qsettings/CMakeLists.txt
Normal file
@ -0,0 +1,46 @@
|
||||
# Generated from qsettings.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qsettings Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qsettings
|
||||
SOURCES
|
||||
tst_qsettings.cpp
|
||||
DEFINES
|
||||
QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
INCLUDE_DIRECTORIES
|
||||
../../kernel/qmetatype
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
||||
|
||||
# Resources:
|
||||
add_qt_resource(tst_qsettings "qsettings" PREFIX "/" FILES
|
||||
bom.ini
|
||||
resourcefile.ini
|
||||
resourcefile2.ini
|
||||
resourcefile3.ini
|
||||
resourcefile4.ini
|
||||
resourcefile5.ini
|
||||
resourcefile6.plist
|
||||
withcomments.ini)
|
||||
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qsettings.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(tst_qsettings CONDITION MSVC
|
||||
PUBLIC_LIBRARIES
|
||||
advapi32
|
||||
)
|
||||
|
||||
extend_target(tst_qsettings CONDITION APPLE
|
||||
PUBLIC_LIBRARIES
|
||||
${FWCoreFoundation}
|
||||
)
|
25
tests/auto/corelib/io/qstandardpaths/CMakeLists.txt
Normal file
25
tests/auto/corelib/io/qstandardpaths/CMakeLists.txt
Normal file
@ -0,0 +1,25 @@
|
||||
# Generated from qstandardpaths.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qstandardpaths Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qstandardpaths
|
||||
SOURCES
|
||||
../../../../shared/emulationdetector.h
|
||||
tst_qstandardpaths.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../../../../shared
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qstandardpaths.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
||||
# TESTDATA = "tst_qstandardpaths.cpp" "qstandardpaths.pro"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(tst_qstandardpaths CONDITION boot2qt
|
||||
DEFINES
|
||||
SKIP_FINDEXECUTABLE
|
||||
)
|
18
tests/auto/corelib/io/qtemporarydir/CMakeLists.txt
Normal file
18
tests/auto/corelib/io/qtemporarydir/CMakeLists.txt
Normal file
@ -0,0 +1,18 @@
|
||||
# Generated from qtemporarydir.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qtemporarydir Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qtemporarydir
|
||||
SOURCES
|
||||
../../../../shared/emulationdetector.h
|
||||
tst_qtemporarydir.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../../../../shared
|
||||
LIBRARIES
|
||||
Qt::TestPrivate
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qtemporarydir.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
30
tests/auto/corelib/io/qtemporaryfile/CMakeLists.txt
Normal file
30
tests/auto/corelib/io/qtemporaryfile/CMakeLists.txt
Normal file
@ -0,0 +1,30 @@
|
||||
# Generated from qtemporaryfile.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qtemporaryfile Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qtemporaryfile
|
||||
SOURCES
|
||||
tst_qtemporaryfile.cpp
|
||||
LIBRARIES
|
||||
Qt::TestPrivate
|
||||
)
|
||||
|
||||
# Resources:
|
||||
add_qt_resource(tst_qtemporaryfile "qtemporaryfile" FILES
|
||||
resources/test.txt)
|
||||
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qtemporaryfile.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
||||
# TESTDATA = "tst_qtemporaryfile.cpp"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
# Resources:
|
||||
add_qt_resource(tst_qtemporaryfile "android_testdata" PREFIX "/android_testdata" FILES
|
||||
resources/test.txt
|
||||
tst_qtemporaryfile.cpp)
|
||||
|
23
tests/auto/corelib/io/qurl/CMakeLists.txt
Normal file
23
tests/auto/corelib/io/qurl/CMakeLists.txt
Normal file
@ -0,0 +1,23 @@
|
||||
# Generated from qurl.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qurl Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qurl
|
||||
SOURCES
|
||||
tst_qurl.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Concurrent
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qurl.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(tst_qurl CONDITION APPLE_OSX
|
||||
SOURCES
|
||||
tst_qurl_mac.mm
|
||||
)
|
16
tests/auto/corelib/io/qurlinternal/CMakeLists.txt
Normal file
16
tests/auto/corelib/io/qurlinternal/CMakeLists.txt
Normal file
@ -0,0 +1,16 @@
|
||||
# Generated from qurlinternal.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qurlinternal Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qurlinternal
|
||||
SOURCES
|
||||
../../codecs/utf8/utf8data.cpp
|
||||
tst_qurlinternal.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qurlinternal.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
Loading…
Reference in New Issue
Block a user