CMake: Don't use PUBLIC_LIBRARIES for tests and test helpers
Change-Id: I9b7404e1d3a78fe0726ec0f5ce1461f6c209e90d Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
parent
7da51c14d9
commit
4d22405e48
@ -7,6 +7,6 @@
|
|||||||
qt_internal_add_test(tst_qtconcurrentfilter
|
qt_internal_add_test(tst_qtconcurrentfilter
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtconcurrentfilter.cpp
|
tst_qtconcurrentfilter.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Concurrent
|
Qt::Concurrent
|
||||||
)
|
)
|
||||||
|
@ -8,6 +8,6 @@ qt_internal_add_test(tst_qtconcurrentfiltermapgenerated
|
|||||||
SOURCES
|
SOURCES
|
||||||
tst_qtconcurrent_selected_tests.cpp
|
tst_qtconcurrent_selected_tests.cpp
|
||||||
tst_qtconcurrentfiltermapgenerated.cpp tst_qtconcurrentfiltermapgenerated.h
|
tst_qtconcurrentfiltermapgenerated.cpp tst_qtconcurrentfiltermapgenerated.h
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Concurrent
|
Qt::Concurrent
|
||||||
)
|
)
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
qt_internal_add_test(tst_qtconcurrentiteratekernel
|
qt_internal_add_test(tst_qtconcurrentiteratekernel
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtconcurrentiteratekernel.cpp
|
tst_qtconcurrentiteratekernel.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Concurrent
|
Qt::Concurrent
|
||||||
)
|
)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
qt_internal_add_test(tst_qtconcurrentmap
|
qt_internal_add_test(tst_qtconcurrentmap
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtconcurrentmap.cpp
|
tst_qtconcurrentmap.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Concurrent
|
Qt::Concurrent
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
qt_internal_add_test(tst_qtconcurrentmedian
|
qt_internal_add_test(tst_qtconcurrentmedian
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtconcurrentmedian.cpp
|
tst_qtconcurrentmedian.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Concurrent
|
Qt::Concurrent
|
||||||
)
|
)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
qt_internal_add_test(tst_qtconcurrentrun
|
qt_internal_add_test(tst_qtconcurrentrun
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtconcurrentrun.cpp
|
tst_qtconcurrentrun.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Concurrent
|
Qt::Concurrent
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
qt_internal_add_test(tst_qtconcurrenttask
|
qt_internal_add_test(tst_qtconcurrenttask
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtconcurrenttask.cpp
|
tst_qtconcurrenttask.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Concurrent
|
Qt::Concurrent
|
||||||
)
|
)
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
qt_internal_add_test(tst_qtconcurrentthreadengine
|
qt_internal_add_test(tst_qtconcurrentthreadengine
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtconcurrentthreadengine.cpp
|
tst_qtconcurrentthreadengine.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Concurrent
|
Qt::Concurrent
|
||||||
)
|
)
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
qt_internal_add_test(tst_qpauseanimation
|
qt_internal_add_test(tst_qpauseanimation
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qpauseanimation.cpp
|
tst_qpauseanimation.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
qt_internal_add_test(tst_qpropertyanimation
|
qt_internal_add_test(tst_qpropertyanimation
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qpropertyanimation.cpp
|
tst_qpropertyanimation.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
Qt::Gui
|
Qt::Gui
|
||||||
Qt::Widgets
|
Qt::Widgets
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
qt_internal_add_test(tst_qfloat16
|
qt_internal_add_test(tst_qfloat16
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qfloat16.cpp
|
tst_qfloat16.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::TestPrivate
|
Qt::TestPrivate
|
||||||
)
|
)
|
||||||
|
@ -8,7 +8,7 @@ qt_internal_add_test(tst_qglobalstatic
|
|||||||
EXCEPTIONS
|
EXCEPTIONS
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qglobalstatic.cpp
|
tst_qglobalstatic.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
Qt::TestPrivate
|
Qt::TestPrivate
|
||||||
)
|
)
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
qt_internal_add_test(tst_qhooks
|
qt_internal_add_test(tst_qhooks
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qhooks.cpp
|
tst_qhooks.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
qt_internal_add_test(tst_qnumeric
|
qt_internal_add_test(tst_qnumeric
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qnumeric.cpp
|
tst_qnumeric.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
qt_internal_add_test(tst_qrandomgenerator
|
qt_internal_add_test(tst_qrandomgenerator
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qrandomgenerator.cpp
|
tst_qrandomgenerator.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
qt_internal_add_test(tst_qtendian
|
qt_internal_add_test(tst_qtendian
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtendian.cpp
|
tst_qtendian.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
qt_internal_add_test(tst_qwinregistry
|
qt_internal_add_test(tst_qwinregistry
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qwinregistry.cpp
|
tst_qwinregistry.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
@ -2,6 +2,6 @@ qt_internal_add_test(tst_qxp_function_ref
|
|||||||
EXCEPTIONS
|
EXCEPTIONS
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qxp_function_ref.cpp
|
tst_qxp_function_ref.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Core
|
Qt::Core
|
||||||
)
|
)
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
qt_internal_add_test(tst_largefile
|
qt_internal_add_test(tst_largefile
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_largefile.cpp
|
tst_largefile.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::TestPrivate
|
Qt::TestPrivate
|
||||||
)
|
)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
qt_internal_add_test(tst_qabstractfileengine
|
qt_internal_add_test(tst_qabstractfileengine
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qabstractfileengine.cpp
|
tst_qabstractfileengine.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
qt_internal_add_test(tst_qdataurl
|
qt_internal_add_test(tst_qdataurl
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdataurl.cpp
|
tst_qdataurl.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
qt_internal_add_test(tst_qdebug
|
qt_internal_add_test(tst_qdebug
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdebug.cpp
|
tst_qdebug.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Concurrent
|
Qt::Concurrent
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ list(APPEND test_data "tst_qdir.cpp")
|
|||||||
qt_internal_add_test(tst_qdir
|
qt_internal_add_test(tst_qdir
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdir.cpp
|
tst_qdir.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
TESTDATA ${test_data}
|
TESTDATA ${test_data}
|
||||||
)
|
)
|
||||||
|
@ -8,6 +8,6 @@ qt_internal_add_executable(qdir
|
|||||||
GUI
|
GUI
|
||||||
DEFINES
|
DEFINES
|
||||||
QT_DISABLE_DEPRECATED_BEFORE=0
|
QT_DISABLE_DEPRECATED_BEFORE=0
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Gui
|
Qt::Gui
|
||||||
)
|
)
|
||||||
|
@ -10,7 +10,7 @@ list(APPEND test_data "entrylist")
|
|||||||
qt_internal_add_test(tst_qdiriterator
|
qt_internal_add_test(tst_qdiriterator
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdiriterator.cpp
|
tst_qdiriterator.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
TESTDATA ${test_data}
|
TESTDATA ${test_data}
|
||||||
)
|
)
|
||||||
|
@ -16,7 +16,7 @@ list(APPEND test_data "resources/file1.ext1")
|
|||||||
qt_internal_add_test(tst_qfile
|
qt_internal_add_test(tst_qfile
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qfile.cpp
|
tst_qfile.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
Qt::TestPrivate
|
Qt::TestPrivate
|
||||||
TESTDATA ${test_data}
|
TESTDATA ${test_data}
|
||||||
@ -59,7 +59,7 @@ qt_internal_add_resource(tst_qfile "copy-fallback"
|
|||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
qt_internal_extend_target(tst_qfile CONDITION TARGET Qt::Network
|
qt_internal_extend_target(tst_qfile CONDITION TARGET Qt::Network
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Network
|
Qt::Network
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -74,7 +74,7 @@ qt_internal_extend_target(tst_qfile CONDITION CONFIG___contains___builtin_testda
|
|||||||
)
|
)
|
||||||
|
|
||||||
qt_internal_extend_target(tst_qfile CONDITION WIN32
|
qt_internal_extend_target(tst_qfile CONDITION WIN32
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
ole32
|
ole32
|
||||||
uuid
|
uuid
|
||||||
)
|
)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
qt_internal_add_test(tst_qfileinfo
|
qt_internal_add_test(tst_qfileinfo
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qfileinfo.cpp
|
tst_qfileinfo.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -41,7 +41,7 @@ qt_internal_add_resource(tst_qfileinfo "testdata"
|
|||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
qt_internal_extend_target(tst_qfileinfo CONDITION WIN32
|
qt_internal_extend_target(tst_qfileinfo CONDITION WIN32
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
advapi32
|
advapi32
|
||||||
netapi32
|
netapi32
|
||||||
)
|
)
|
||||||
|
@ -58,7 +58,7 @@ set(qfileselector_resource_files
|
|||||||
qt_internal_add_test(tst_qfileselectors
|
qt_internal_add_test(tst_qfileselectors
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qfileselector.cpp
|
tst_qfileselector.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
TESTDATA ${qfileselector_resource_files}
|
TESTDATA ${qfileselector_resource_files}
|
||||||
BUILTIN_TESTDATA
|
BUILTIN_TESTDATA
|
||||||
|
@ -9,6 +9,6 @@ qt_internal_add_test(tst_qfilesystementry
|
|||||||
../../../../../src/corelib/io/qfilesystementry.cpp
|
../../../../../src/corelib/io/qfilesystementry.cpp
|
||||||
../../../../../src/corelib/io/qfilesystementry_p.h
|
../../../../../src/corelib/io/qfilesystementry_p.h
|
||||||
tst_qfilesystementry.cpp
|
tst_qfilesystementry.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
qt_internal_add_test(tst_qfilesystemmetadata
|
qt_internal_add_test(tst_qfilesystemmetadata
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qfilesystemmetadata.cpp
|
tst_qfilesystemmetadata.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
@ -10,7 +10,7 @@ list(APPEND test_data "tst_qiodevice.cpp")
|
|||||||
qt_internal_add_test(tst_qiodevice
|
qt_internal_add_test(tst_qiodevice
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qiodevice.cpp
|
tst_qiodevice.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Network
|
Qt::Network
|
||||||
TESTDATA ${test_data}
|
TESTDATA ${test_data}
|
||||||
QT_TEST_SERVER_LIST "apache2" "cyrus"
|
QT_TEST_SERVER_LIST "apache2" "cyrus"
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
qt_internal_add_test(tst_qipaddress
|
qt_internal_add_test(tst_qipaddress
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qipaddress.cpp
|
tst_qipaddress.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
qt_internal_add_test(tst_qlockfile
|
qt_internal_add_test(tst_qlockfile
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qlockfile.cpp
|
tst_qlockfile.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Concurrent
|
Qt::Concurrent
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
@ -14,7 +14,7 @@ qt_internal_add_test(tst_qlockfile
|
|||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
qt_internal_extend_target(tst_qlockfile CONDITION WIN32
|
qt_internal_extend_target(tst_qlockfile CONDITION WIN32
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
advapi32
|
advapi32
|
||||||
)
|
)
|
||||||
add_subdirectory(qlockfiletesthelper)
|
add_subdirectory(qlockfiletesthelper)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
qt_internal_add_test(tst_qloggingcategory
|
qt_internal_add_test(tst_qloggingcategory
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qloggingcategory.cpp
|
tst_qloggingcategory.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ list(APPEND test_data "qtlogging.ini")
|
|||||||
qt_internal_add_test(tst_qloggingregistry
|
qt_internal_add_test(tst_qloggingregistry
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qloggingregistry.cpp
|
tst_qloggingregistry.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
TESTDATA ${test_data}
|
TESTDATA ${test_data}
|
||||||
)
|
)
|
||||||
|
@ -6,7 +6,7 @@ qt_internal_add_test(tst_qprocess
|
|||||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
|
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
|
||||||
SOURCES
|
SOURCES
|
||||||
../tst_qprocess.cpp
|
../tst_qprocess.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
Qt::Network
|
Qt::Network
|
||||||
Qt::TestPrivate
|
Qt::TestPrivate
|
||||||
|
@ -8,7 +8,7 @@ qt_internal_add_executable(testGuiProcess
|
|||||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
|
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
|
||||||
SOURCES
|
SOURCES
|
||||||
main.cpp
|
main.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Gui
|
Qt::Gui
|
||||||
Qt::Widgets
|
Qt::Widgets
|
||||||
)
|
)
|
||||||
|
@ -7,7 +7,7 @@ add_executable(testSoftExit)
|
|||||||
qt_internal_extend_target(testSoftExit CONDITION WIN32
|
qt_internal_extend_target(testSoftExit CONDITION WIN32
|
||||||
SOURCES
|
SOURCES
|
||||||
main_win.cpp
|
main_win.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
user32
|
user32
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ qt_internal_add_test(tst_qsettings
|
|||||||
tst_qsettings.cpp
|
tst_qsettings.cpp
|
||||||
INCLUDE_DIRECTORIES
|
INCLUDE_DIRECTORIES
|
||||||
../../kernel/qmetatype
|
../../kernel/qmetatype
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
Qt::Gui
|
Qt::Gui
|
||||||
TESTDATA ${qsettings_resource_files}
|
TESTDATA ${qsettings_resource_files}
|
||||||
@ -34,11 +34,11 @@ qt_internal_add_test(tst_qsettings
|
|||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
qt_internal_extend_target(tst_qsettings CONDITION MSVC
|
qt_internal_extend_target(tst_qsettings CONDITION MSVC
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
advapi32
|
advapi32
|
||||||
)
|
)
|
||||||
|
|
||||||
qt_internal_extend_target(tst_qsettings CONDITION APPLE
|
qt_internal_extend_target(tst_qsettings CONDITION APPLE
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
${FWCoreFoundation}
|
${FWCoreFoundation}
|
||||||
)
|
)
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
qt_internal_add_test(tst_qstorageinfo
|
qt_internal_add_test(tst_qstorageinfo
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qstorageinfo.cpp
|
tst_qstorageinfo.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
qt_internal_add_test(tst_qtemporarydir
|
qt_internal_add_test(tst_qtemporarydir
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtemporarydir.cpp
|
tst_qtemporarydir.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::TestPrivate
|
Qt::TestPrivate
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ list(APPEND test_data "tst_qtemporaryfile.cpp")
|
|||||||
qt_internal_add_test(tst_qtemporaryfile
|
qt_internal_add_test(tst_qtemporaryfile
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtemporaryfile.cpp
|
tst_qtemporaryfile.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::TestPrivate
|
Qt::TestPrivate
|
||||||
TESTDATA ${test_data}
|
TESTDATA ${test_data}
|
||||||
)
|
)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
qt_internal_add_test(tst_qurl
|
qt_internal_add_test(tst_qurl
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qurl.cpp
|
tst_qurl.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Concurrent
|
Qt::Concurrent
|
||||||
Qt::TestPrivate
|
Qt::TestPrivate
|
||||||
)
|
)
|
||||||
|
@ -12,7 +12,7 @@ qt_internal_add_test(tst_qurlinternal
|
|||||||
SOURCES
|
SOURCES
|
||||||
tst_qurlinternal.cpp
|
tst_qurlinternal.cpp
|
||||||
utf8data.cpp
|
utf8data.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
qt_internal_add_test(tst_qurlquery
|
qt_internal_add_test(tst_qurlquery
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qurlquery.cpp
|
tst_qurlquery.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
@ -12,6 +12,6 @@ qt_internal_add_test(tst_qabstractitemmodel
|
|||||||
QT_DISABLE_DEPRECATED_BEFORE=0
|
QT_DISABLE_DEPRECATED_BEFORE=0
|
||||||
INCLUDE_DIRECTORIES
|
INCLUDE_DIRECTORIES
|
||||||
../../../other/qabstractitemmodelutils
|
../../../other/qabstractitemmodelutils
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Gui
|
Qt::Gui
|
||||||
)
|
)
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
qt_internal_add_test(tst_qconcatenatetablesproxymodel
|
qt_internal_add_test(tst_qconcatenatetablesproxymodel
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qconcatenatetablesproxymodel.cpp
|
tst_qconcatenatetablesproxymodel.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Gui
|
Qt::Gui
|
||||||
)
|
)
|
||||||
|
@ -10,6 +10,6 @@ qt_internal_add_test(tst_qidentityproxymodel
|
|||||||
tst_qidentityproxymodel.cpp
|
tst_qidentityproxymodel.cpp
|
||||||
INCLUDE_DIRECTORIES
|
INCLUDE_DIRECTORIES
|
||||||
../../../other/qabstractitemmodelutils
|
../../../other/qabstractitemmodelutils
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Gui
|
Qt::Gui
|
||||||
)
|
)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
qt_internal_add_test(tst_qitemmodel
|
qt_internal_add_test(tst_qitemmodel
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qitemmodel.cpp
|
tst_qitemmodel.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Gui
|
Qt::Gui
|
||||||
Qt::Sql
|
Qt::Sql
|
||||||
Qt::Widgets
|
Qt::Widgets
|
||||||
|
@ -9,6 +9,6 @@ qt_internal_add_test(tst_qsfpm_recursive
|
|||||||
tst_qsortfilterproxymodel_recursive.cpp
|
tst_qsortfilterproxymodel_recursive.cpp
|
||||||
DEFINES
|
DEFINES
|
||||||
QT_DISABLE_DEPRECATED_BEFORE=0
|
QT_DISABLE_DEPRECATED_BEFORE=0
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Gui
|
Qt::Gui
|
||||||
)
|
)
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
qt_internal_add_test(tst_qtransposeproxymodel
|
qt_internal_add_test(tst_qtransposeproxymodel
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtransposeproxymodel.cpp
|
tst_qtransposeproxymodel.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Gui
|
Qt::Gui
|
||||||
)
|
)
|
||||||
|
@ -20,7 +20,7 @@ qt_internal_add_test(tst_qcoreapplication
|
|||||||
VERSION ${target_version} # special case
|
VERSION ${target_version} # special case
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qcoreapplication.cpp tst_qcoreapplication.h
|
tst_qcoreapplication.cpp tst_qcoreapplication.h
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
qt_internal_add_test(tst_qeventloop
|
qt_internal_add_test(tst_qeventloop
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qeventloop.cpp
|
tst_qeventloop.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
Qt::Network
|
Qt::Network
|
||||||
)
|
)
|
||||||
@ -16,7 +16,7 @@ qt_internal_add_test(tst_qeventloop
|
|||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
qt_internal_extend_target(tst_qeventloop CONDITION WIN32
|
qt_internal_extend_target(tst_qeventloop CONDITION WIN32
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
user32
|
user32
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
qt_internal_add_test(tst_qmetacontainer
|
qt_internal_add_test(tst_qmetacontainer
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qmetacontainer.cpp
|
tst_qmetacontainer.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
@ -7,7 +7,7 @@ set(tst_qmetaobject_SOURCES
|
|||||||
qt_internal_add_test(tst_qmetaobject
|
qt_internal_add_test(tst_qmetaobject
|
||||||
SOURCES
|
SOURCES
|
||||||
${tst_qmetaobject_SOURCES}
|
${tst_qmetaobject_SOURCES}
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
qt_internal_add_test(tst_qmetaobjectbuilder
|
qt_internal_add_test(tst_qmetaobjectbuilder
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qmetaobjectbuilder.cpp
|
tst_qmetaobjectbuilder.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
@ -15,7 +15,7 @@ qt_internal_add_test(tst_qmetatype
|
|||||||
QT_DISABLE_DEPRECATED_BEFORE=0
|
QT_DISABLE_DEPRECATED_BEFORE=0
|
||||||
INCLUDE_DIRECTORIES
|
INCLUDE_DIRECTORIES
|
||||||
../../../other/qvariant_common
|
../../../other/qvariant_common
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
Qt::Gui
|
Qt::Gui
|
||||||
TESTDATA ${test_data}
|
TESTDATA ${test_data}
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
qt_internal_add_test(tst_qmimedata
|
qt_internal_add_test(tst_qmimedata
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qmimedata.cpp
|
tst_qmimedata.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Gui
|
Qt::Gui
|
||||||
)
|
)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
qt_internal_add_test(tst_qpointer
|
qt_internal_add_test(tst_qpointer
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qpointer.cpp
|
tst_qpointer.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Gui
|
Qt::Gui
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -15,6 +15,6 @@ qt_internal_add_test(tst_qpointer
|
|||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
qt_internal_extend_target(tst_qpointer CONDITION TARGET Qt::Widgets
|
qt_internal_extend_target(tst_qpointer CONDITION TARGET Qt::Widgets
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Widgets
|
Qt::Widgets
|
||||||
)
|
)
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
qt_internal_add_test(tst_qproperty
|
qt_internal_add_test(tst_qproperty
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qproperty.cpp
|
tst_qproperty.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
@ -6,7 +6,7 @@ if(QT_FEATURE_sharedmemory)
|
|||||||
qt_internal_add_test(tst_qsharedmemory
|
qt_internal_add_test(tst_qsharedmemory
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qsharedmemory.cpp
|
tst_qsharedmemory.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -14,7 +14,7 @@ if(QT_FEATURE_sharedmemory)
|
|||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
qt_internal_extend_target(tst_qsharedmemory CONDITION LINUX
|
qt_internal_extend_target(tst_qsharedmemory CONDITION LINUX
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
rt
|
rt
|
||||||
)
|
)
|
||||||
add_subdirectory(producerconsumer)
|
add_subdirectory(producerconsumer)
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
qt_internal_add_test_helper(producerconsumer_helper
|
qt_internal_add_test_helper(producerconsumer_helper
|
||||||
SOURCES
|
SOURCES
|
||||||
main.cpp
|
main.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Test
|
Qt::Test
|
||||||
)
|
)
|
||||||
|
@ -11,7 +11,7 @@ endif()
|
|||||||
qt_internal_add_test(tst_qsocketnotifier
|
qt_internal_add_test(tst_qsocketnotifier
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qsocketnotifier.cpp
|
tst_qsocketnotifier.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
Qt::Network
|
Qt::Network
|
||||||
Qt::NetworkPrivate
|
Qt::NetworkPrivate
|
||||||
@ -24,6 +24,6 @@ qt_internal_add_test(tst_qsocketnotifier
|
|||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
qt_internal_extend_target(tst_qsocketnotifier CONDITION WIN32
|
qt_internal_extend_target(tst_qsocketnotifier CONDITION WIN32
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
ws2_32
|
ws2_32
|
||||||
)
|
)
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
qt_internal_add_test_helper(acquirerelease_helper
|
qt_internal_add_test_helper(acquirerelease_helper
|
||||||
SOURCES
|
SOURCES
|
||||||
main.cpp
|
main.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Test
|
Qt::Test
|
||||||
)
|
)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
qt_internal_add_test(tst_qtimer
|
qt_internal_add_test(tst_qtimer
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtimer.cpp
|
tst_qtimer.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ qt_internal_add_test(tst_qvariant
|
|||||||
QT_DISABLE_DEPRECATED_BEFORE=0
|
QT_DISABLE_DEPRECATED_BEFORE=0
|
||||||
INCLUDE_DIRECTORIES
|
INCLUDE_DIRECTORIES
|
||||||
../../../other/qvariant_common
|
../../../other/qvariant_common
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
Qt::Gui
|
Qt::Gui
|
||||||
TESTDATA ${qvariant_resource_files}
|
TESTDATA ${qvariant_resource_files}
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
qt_internal_add_test(tst_qwineventnotifier
|
qt_internal_add_test(tst_qwineventnotifier
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qwineventnotifier.cpp
|
tst_qwineventnotifier.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
@ -12,7 +12,7 @@ qt_internal_add_test(tst_qmimedatabase-cache
|
|||||||
SOURCES
|
SOURCES
|
||||||
../tst_qmimedatabase.h
|
../tst_qmimedatabase.h
|
||||||
tst_qmimedatabase-cache.cpp
|
tst_qmimedatabase-cache.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Concurrent
|
Qt::Concurrent
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ qt_internal_add_test(tst_qmimedatabase-xml
|
|||||||
SOURCES
|
SOURCES
|
||||||
../tst_qmimedatabase.h
|
../tst_qmimedatabase.h
|
||||||
tst_qmimedatabase-xml.cpp
|
tst_qmimedatabase-xml.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Concurrent
|
Qt::Concurrent
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
qt_internal_add_test(tst_qmimetype
|
qt_internal_add_test(tst_qmimetype
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qmimetype.cpp
|
tst_qmimetype.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
@ -10,7 +10,7 @@ qt_internal_add_cmake_library(tst_qfactoryloader_plugin1
|
|||||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../bin"
|
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../bin"
|
||||||
SOURCES
|
SOURCES
|
||||||
plugin1.cpp plugin1.h
|
plugin1.cpp plugin1.h
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Core
|
Qt::Core
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ qt_internal_add_cmake_library(tst_qfactoryloader_plugin2
|
|||||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../bin"
|
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../bin"
|
||||||
SOURCES
|
SOURCES
|
||||||
plugin2.cpp plugin2.h
|
plugin2.cpp plugin2.h
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Core
|
Qt::Core
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ qt_internal_add_cmake_library(mylib
|
|||||||
#OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../" # special case
|
#OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../" # special case
|
||||||
SOURCES
|
SOURCES
|
||||||
mylib.c
|
mylib.c
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Core
|
Qt::Core
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ qt_internal_add_cmake_library(mylib2 # special case
|
|||||||
#OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../" # special case
|
#OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../" # special case
|
||||||
SOURCES
|
SOURCES
|
||||||
mylib.c
|
mylib.c
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Core
|
Qt::Core
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ qt_internal_add_cmake_library(debugplugin
|
|||||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../plugins"
|
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../plugins"
|
||||||
SOURCES
|
SOURCES
|
||||||
main.cpp
|
main.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Core
|
Qt::Core
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ qt_internal_add_cmake_library(invalidplugin
|
|||||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../plugins"
|
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../plugins"
|
||||||
SOURCES
|
SOURCES
|
||||||
main.cpp
|
main.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Core
|
Qt::Core
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ qt_internal_add_cmake_library(releaseplugin
|
|||||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../plugins"
|
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../plugins"
|
||||||
SOURCES
|
SOURCES
|
||||||
main.cpp
|
main.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Core
|
Qt::Core
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ qt_internal_add_cmake_library(almostplugin
|
|||||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../bin"
|
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../bin"
|
||||||
SOURCES
|
SOURCES
|
||||||
almostplugin.cpp almostplugin.h
|
almostplugin.cpp almostplugin.h
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Core
|
Qt::Core
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ qt_internal_add_cmake_library(tst_qpluginloaderlib
|
|||||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../bin"
|
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../bin"
|
||||||
SOURCES
|
SOURCES
|
||||||
mylib.c
|
mylib.c
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Core
|
Qt::Core
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ qt_internal_add_cmake_library(theplugin
|
|||||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../bin"
|
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../bin"
|
||||||
SOURCES
|
SOURCES
|
||||||
theplugin.cpp theplugin.h
|
theplugin.cpp theplugin.h
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Core
|
Qt::Core
|
||||||
)
|
)
|
||||||
qt_autogen_tools_initial_setup(theplugin)
|
qt_autogen_tools_initial_setup(theplugin)
|
||||||
@ -16,7 +16,7 @@ if (UNIX AND NOT APPLE)
|
|||||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../bin"
|
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../bin"
|
||||||
SOURCES
|
SOURCES
|
||||||
theoldplugin.cpp theoldplugin.h
|
theoldplugin.cpp theoldplugin.h
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Core
|
Qt::Core
|
||||||
)
|
)
|
||||||
qt_autogen_tools_initial_setup(theoldplugin)
|
qt_autogen_tools_initial_setup(theoldplugin)
|
||||||
|
@ -55,16 +55,16 @@ qt_internal_extend_target(tst_qpluginloader CONDITION QT_FEATURE_private_tests
|
|||||||
)
|
)
|
||||||
|
|
||||||
qt_internal_extend_target(tst_qpluginloader CONDITION CMAKE_BUILD_TYPE STREQUAL Debug AND WIN32 AND debug_and_release
|
qt_internal_extend_target(tst_qpluginloader CONDITION CMAKE_BUILD_TYPE STREQUAL Debug AND WIN32 AND debug_and_release
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
# Remove: L../staticplugin/debug
|
# Remove: L../staticplugin/debug
|
||||||
)
|
)
|
||||||
|
|
||||||
qt_internal_extend_target(tst_qpluginloader CONDITION WIN32 AND debug_and_release AND NOT CMAKE_BUILD_TYPE STREQUAL Debug
|
qt_internal_extend_target(tst_qpluginloader CONDITION WIN32 AND debug_and_release AND NOT CMAKE_BUILD_TYPE STREQUAL Debug
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
# Remove: L../staticplugin/release
|
# Remove: L../staticplugin/release
|
||||||
)
|
)
|
||||||
|
|
||||||
qt_internal_extend_target(tst_qpluginloader CONDITION UNIX OR NOT debug_and_release
|
qt_internal_extend_target(tst_qpluginloader CONDITION UNIX OR NOT debug_and_release
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
# Remove: L../staticplugin
|
# Remove: L../staticplugin
|
||||||
)
|
)
|
||||||
|
@ -13,7 +13,7 @@ qt_internal_add_test(tst_quuid
|
|||||||
qt_internal_extend_target(tst_quuid CONDITION APPLE
|
qt_internal_extend_target(tst_quuid CONDITION APPLE
|
||||||
SOURCES
|
SOURCES
|
||||||
../tst_quuid_darwin.mm
|
../tst_quuid_darwin.mm
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
${FWFoundation}
|
${FWFoundation}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ set(json_resource_files
|
|||||||
qt_internal_add_test(tst_json
|
qt_internal_add_test(tst_json
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtjson.cpp
|
tst_qtjson.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
TESTDATA ${json_resource_files}
|
TESTDATA ${json_resource_files}
|
||||||
)
|
)
|
||||||
|
@ -10,6 +10,6 @@ qt_internal_add_test(tst_qcborstreamreader
|
|||||||
INCLUDE_DIRECTORIES
|
INCLUDE_DIRECTORIES
|
||||||
../../../../../src/3rdparty/tinycbor/src
|
../../../../../src/3rdparty/tinycbor/src
|
||||||
../../../../../src/3rdparty/tinycbor/tests/parser
|
../../../../../src/3rdparty/tinycbor/tests/parser
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
@ -10,6 +10,6 @@ qt_internal_add_test(tst_qcborvalue
|
|||||||
INCLUDE_DIRECTORIES
|
INCLUDE_DIRECTORIES
|
||||||
../../../../../src/3rdparty/tinycbor/src
|
../../../../../src/3rdparty/tinycbor/src
|
||||||
../../../../../src/3rdparty/tinycbor/tests/parser
|
../../../../../src/3rdparty/tinycbor/tests/parser
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
@ -11,7 +11,7 @@ list(APPEND test_data "typedef.q5")
|
|||||||
qt_internal_add_test(tst_qdatastream
|
qt_internal_add_test(tst_qdatastream
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdatastream.cpp
|
tst_qdatastream.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Gui
|
Qt::Gui
|
||||||
TESTDATA ${test_data}
|
TESTDATA ${test_data}
|
||||||
)
|
)
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
qt_internal_add_test(tst_qdatastream_core_pixmap
|
qt_internal_add_test(tst_qdatastream_core_pixmap
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdatastream_core_pixmap.cpp
|
tst_qdatastream_core_pixmap.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Gui
|
Qt::Gui
|
||||||
)
|
)
|
||||||
|
@ -15,7 +15,7 @@ qt_internal_add_test(tst_qtextstream
|
|||||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
|
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
|
||||||
SOURCES
|
SOURCES
|
||||||
../tst_qtextstream.cpp
|
../tst_qtextstream.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Network
|
Qt::Network
|
||||||
Qt::TestPrivate
|
Qt::TestPrivate
|
||||||
TESTDATA ${test_data}
|
TESTDATA ${test_data}
|
||||||
|
@ -10,7 +10,7 @@ list(APPEND test_data "rfc3252.txt")
|
|||||||
qt_internal_add_test(tst_qbytearray
|
qt_internal_add_test(tst_qbytearray
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qbytearray.cpp
|
tst_qbytearray.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
TESTDATA ${test_data}
|
TESTDATA ${test_data}
|
||||||
)
|
)
|
||||||
@ -21,6 +21,6 @@ qt_internal_add_test(tst_qbytearray
|
|||||||
qt_internal_extend_target(tst_qbytearray CONDITION APPLE
|
qt_internal_extend_target(tst_qbytearray CONDITION APPLE
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qbytearray_mac.mm
|
tst_qbytearray_mac.mm
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
${FWFoundation}
|
${FWFoundation}
|
||||||
)
|
)
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
qt_internal_add_test(tst_qbytedatabuffer
|
qt_internal_add_test(tst_qbytedatabuffer
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qbytedatabuffer.cpp
|
tst_qbytedatabuffer.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
@ -10,7 +10,7 @@ list(APPEND test_data "data/NormalizationTest.txt")
|
|||||||
qt_internal_add_test(tst_qchar
|
qt_internal_add_test(tst_qchar
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qchar.cpp
|
tst_qchar.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
TESTDATA ${test_data}
|
TESTDATA ${test_data}
|
||||||
)
|
)
|
||||||
|
@ -9,6 +9,6 @@ qt_internal_add_test(tst_qcollator
|
|||||||
tst_qcollator.cpp
|
tst_qcollator.cpp
|
||||||
DEFINES
|
DEFINES
|
||||||
QT_NO_CAST_TO_ASCII
|
QT_NO_CAST_TO_ASCII
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
@ -6,7 +6,7 @@ qt_internal_add_test(tst_qlocale
|
|||||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
|
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
|
||||||
SOURCES
|
SOURCES
|
||||||
../tst_qlocale.cpp
|
../tst_qlocale.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -14,7 +14,7 @@ qt_internal_add_test(tst_qlocale
|
|||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
qt_internal_extend_target(tst_qlocale CONDITION embedded
|
qt_internal_extend_target(tst_qlocale CONDITION embedded
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Gui
|
Qt::Gui
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ qt_internal_add_test(tst_qstring
|
|||||||
tst_qstring.cpp
|
tst_qstring.cpp
|
||||||
DEFINES
|
DEFINES
|
||||||
QT_DISABLE_DEPRECATED_BEFORE=0
|
QT_DISABLE_DEPRECATED_BEFORE=0
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -24,6 +24,6 @@ qt_internal_extend_target(tst_qstring CONDITION NOT QT_FEATURE_doubleconversion
|
|||||||
qt_internal_extend_target(tst_qstring CONDITION APPLE
|
qt_internal_extend_target(tst_qstring CONDITION APPLE
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qstring_mac.mm
|
tst_qstring_mac.mm
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
${FWFoundation}
|
${FWFoundation}
|
||||||
)
|
)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
qt_internal_add_test(tst_qstringapisymmetry
|
qt_internal_add_test(tst_qstringapisymmetry
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qstringapisymmetry.cpp
|
tst_qstringapisymmetry.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ qt_internal_add_test(tst_qstringconverter
|
|||||||
SOURCES
|
SOURCES
|
||||||
tst_qstringconverter.cpp
|
tst_qstringconverter.cpp
|
||||||
TESTDATA ${test_data}
|
TESTDATA ${test_data}
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate # for access to Qt's feature system
|
Qt::CorePrivate # for access to Qt's feature system
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
qt_internal_add_test(tst_qstringiterator
|
qt_internal_add_test(tst_qstringiterator
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qstringiterator.cpp
|
tst_qstringiterator.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
qt_internal_add_test(tst_qunicodetools
|
qt_internal_add_test(tst_qunicodetools
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qunicodetools.cpp
|
tst_qunicodetools.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
qt_internal_add_test(tst_qfuture
|
qt_internal_add_test(tst_qfuture
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qfuture.cpp
|
tst_qfuture.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
qt_internal_add_test(tst_qfuturewatcher
|
qt_internal_add_test(tst_qfuturewatcher
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qfuturewatcher.cpp
|
tst_qfuturewatcher.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Concurrent
|
Qt::Concurrent
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
)
|
)
|
||||||
|
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