summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/.prev_CMakeLists.txt22
-rw-r--r--tests/auto/CMakeLists.txt24
-rw-r--r--tests/auto/linguist/CMakeLists.txt5
-rw-r--r--tests/auto/linguist/lconvert/CMakeLists.txt10
-rw-r--r--tests/auto/linguist/lrelease/CMakeLists.txt10
-rw-r--r--tests/auto/linguist/lupdate/CMakeLists.txt10
-rw-r--r--tests/auto/qdoc/CMakeLists.txt4
-rw-r--r--tests/auto/qdoc/generatedoutput/CMakeLists.txt14
-rw-r--r--tests/auto/qdoc/qdoccommandlineparser/CMakeLists.txt14
-rw-r--r--tests/auto/qhelpcontentmodel/CMakeLists.txt16
-rw-r--r--tests/auto/qhelpenginecore/CMakeLists.txt17
-rw-r--r--tests/auto/qhelpgenerator/CMakeLists.txt22
-rw-r--r--tests/auto/qhelpindexmodel/CMakeLists.txt17
-rw-r--r--tests/auto/qhelpprojectdata/CMakeLists.txt20
-rw-r--r--tests/auto/qtattributionsscanner/CMakeLists.txt13
-rw-r--r--tests/auto/qtdiag/CMakeLists.txt12
-rw-r--r--tests/auto/windeployqt/CMakeLists.txt4
-rw-r--r--tests/auto/windeployqt/test/CMakeLists.txt11
-rw-r--r--tests/auto/windeployqt/testapp/CMakeLists.txt14
19 files changed, 259 insertions, 0 deletions
diff --git a/tests/auto/.prev_CMakeLists.txt b/tests/auto/.prev_CMakeLists.txt
new file mode 100644
index 000000000..5eae3760b
--- /dev/null
+++ b/tests/auto/.prev_CMakeLists.txt
@@ -0,0 +1,22 @@
+# Generated from auto.pro.
+
+if(QT_FEATURE_process AND NOT CMAKE_CROSS_COMPILING)
+ add_subdirectory(linguist)
+ add_subdirectory(qtattributionsscanner)
+ add_subdirectory(qtdiag)
+endif()
+if(NOT CMAKE_CROSS_COMPILING)
+ add_subdirectory(qdoc)
+endif()
+if(TARGET Qt::Help AND NOT CMAKE_CROSS_COMPILING)
+ add_subdirectory(qhelpcontentmodel)
+ add_subdirectory(qhelpenginecore)
+ add_subdirectory(qhelpgenerator)
+ add_subdirectory(qhelpindexmodel)
+ add_subdirectory(qhelpprojectdata)
+endif()
+add_subdirectory(cmake)
+add_subdirectory(installed_cmake)
+if(QT_FEATURE_process AND WIN32 AND NOT CMAKE_CROSS_COMPILING AND NOT WINRT)
+ add_subdirectory(windeployqt)
+endif()
diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt
new file mode 100644
index 000000000..4da71b9bf
--- /dev/null
+++ b/tests/auto/CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from auto.pro.
+
+if(QT_FEATURE_process AND NOT CMAKE_CROSS_COMPILING)
+ add_subdirectory(linguist)
+ add_subdirectory(qtattributionsscanner)
+ add_subdirectory(qtdiag)
+endif()
+if(NOT CMAKE_CROSS_COMPILING)
+ add_subdirectory(qdoc)
+endif()
+if(TARGET Qt::Help AND NOT CMAKE_CROSS_COMPILING)
+ add_subdirectory(qhelpcontentmodel)
+ add_subdirectory(qhelpenginecore)
+ add_subdirectory(qhelpgenerator)
+ add_subdirectory(qhelpindexmodel)
+ add_subdirectory(qhelpprojectdata)
+endif()
+# special case begin
+#add_subdirectory(cmake)
+#add_subdirectory(installed_cmake)
+# special case end
+if(QT_FEATURE_process AND WIN32 AND NOT CMAKE_CROSS_COMPILING AND NOT WINRT)
+ add_subdirectory(windeployqt)
+endif()
diff --git a/tests/auto/linguist/CMakeLists.txt b/tests/auto/linguist/CMakeLists.txt
new file mode 100644
index 000000000..a619324bd
--- /dev/null
+++ b/tests/auto/linguist/CMakeLists.txt
@@ -0,0 +1,5 @@
+# Generated from linguist.pro.
+
+add_subdirectory(lrelease)
+add_subdirectory(lconvert)
+add_subdirectory(lupdate)
diff --git a/tests/auto/linguist/lconvert/CMakeLists.txt b/tests/auto/linguist/lconvert/CMakeLists.txt
new file mode 100644
index 000000000..800dcb793
--- /dev/null
+++ b/tests/auto/linguist/lconvert/CMakeLists.txt
@@ -0,0 +1,10 @@
+# Generated from lconvert.pro.
+
+#####################################################################
+## tst_lconvert Test:
+#####################################################################
+
+qt_add_test(tst_lconvert
+ SOURCES
+ tst_lconvert.cpp
+)
diff --git a/tests/auto/linguist/lrelease/CMakeLists.txt b/tests/auto/linguist/lrelease/CMakeLists.txt
new file mode 100644
index 000000000..6de654340
--- /dev/null
+++ b/tests/auto/linguist/lrelease/CMakeLists.txt
@@ -0,0 +1,10 @@
+# Generated from lrelease.pro.
+
+#####################################################################
+## tst_lrelease Test:
+#####################################################################
+
+qt_add_test(tst_lrelease
+ SOURCES
+ tst_lrelease.cpp
+)
diff --git a/tests/auto/linguist/lupdate/CMakeLists.txt b/tests/auto/linguist/lupdate/CMakeLists.txt
new file mode 100644
index 000000000..405663002
--- /dev/null
+++ b/tests/auto/linguist/lupdate/CMakeLists.txt
@@ -0,0 +1,10 @@
+# Generated from lupdate.pro.
+
+#####################################################################
+## tst_lupdate Test:
+#####################################################################
+
+qt_add_test(tst_lupdate
+ SOURCES
+ tst_lupdate.cpp
+)
diff --git a/tests/auto/qdoc/CMakeLists.txt b/tests/auto/qdoc/CMakeLists.txt
new file mode 100644
index 000000000..e9a5da6eb
--- /dev/null
+++ b/tests/auto/qdoc/CMakeLists.txt
@@ -0,0 +1,4 @@
+# Generated from qdoc.pro.
+
+add_subdirectory(generatedoutput)
+add_subdirectory(qdoccommandlineparser)
diff --git a/tests/auto/qdoc/generatedoutput/CMakeLists.txt b/tests/auto/qdoc/generatedoutput/CMakeLists.txt
new file mode 100644
index 000000000..1d8da3313
--- /dev/null
+++ b/tests/auto/qdoc/generatedoutput/CMakeLists.txt
@@ -0,0 +1,14 @@
+# Generated from generatedoutput.pro.
+
+#####################################################################
+## tst_generatedOutput Test:
+#####################################################################
+
+qt_add_test(tst_generatedOutput
+ SOURCES
+ tst_generatedoutput.cpp
+)
+qt_add_docs(tst_generatedOutput
+ test.qdocconf
+)
+
diff --git a/tests/auto/qdoc/qdoccommandlineparser/CMakeLists.txt b/tests/auto/qdoc/qdoccommandlineparser/CMakeLists.txt
new file mode 100644
index 000000000..a1b102cb0
--- /dev/null
+++ b/tests/auto/qdoc/qdoccommandlineparser/CMakeLists.txt
@@ -0,0 +1,14 @@
+# Generated from qdoccommandlineparser.pro.
+
+#####################################################################
+## tst_qdoccommandlineparser Test:
+#####################################################################
+
+qt_add_test(tst_qdoccommandlineparser
+ WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" # special case
+ SOURCES
+ ../../../../src/qdoc/qdoccommandlineparser.cpp ../../../../src/qdoc/qdoccommandlineparser.h
+ tst_qdoccommandlineparser.cpp
+ INCLUDE_DIRECTORIES
+ ../../../../src/qdoc
+)
diff --git a/tests/auto/qhelpcontentmodel/CMakeLists.txt b/tests/auto/qhelpcontentmodel/CMakeLists.txt
new file mode 100644
index 000000000..daef8c0b8
--- /dev/null
+++ b/tests/auto/qhelpcontentmodel/CMakeLists.txt
@@ -0,0 +1,16 @@
+# Generated from qhelpcontentmodel.pro.
+
+#####################################################################
+## tst_qhelpcontentmodel Test:
+#####################################################################
+
+qt_add_test(tst_qhelpcontentmodel
+ SOURCES
+ tst_qhelpcontentmodel.cpp
+ DEFINES
+ QT_USE_USING_NAMESPACE
+ SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Help
+)
diff --git a/tests/auto/qhelpenginecore/CMakeLists.txt b/tests/auto/qhelpenginecore/CMakeLists.txt
new file mode 100644
index 000000000..e31f8b10b
--- /dev/null
+++ b/tests/auto/qhelpenginecore/CMakeLists.txt
@@ -0,0 +1,17 @@
+# Generated from qhelpenginecore.pro.
+
+#####################################################################
+## tst_qhelpenginecore Test:
+#####################################################################
+
+qt_add_test(tst_qhelpenginecore
+ SOURCES
+ tst_qhelpenginecore.cpp
+ DEFINES
+ QT_USE_USING_NAMESPACE
+ SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Help
+ Qt::Sql
+)
diff --git a/tests/auto/qhelpgenerator/CMakeLists.txt b/tests/auto/qhelpgenerator/CMakeLists.txt
new file mode 100644
index 000000000..02c6f6666
--- /dev/null
+++ b/tests/auto/qhelpgenerator/CMakeLists.txt
@@ -0,0 +1,22 @@
+# Generated from qhelpgenerator.pro.
+
+#####################################################################
+## tst_qhelpgenerator Test:
+#####################################################################
+
+qt_add_test(tst_qhelpgenerator
+ SOURCES
+ ../../../src/assistant/qhelpgenerator/helpgenerator.cpp ../../../src/assistant/qhelpgenerator/helpgenerator.h
+ ../../../src/assistant/qhelpgenerator/qhelpdatainterface.cpp ../../../src/assistant/qhelpgenerator/qhelpdatainterface_p.h
+ ../../../src/assistant/qhelpgenerator/qhelpprojectdata.cpp ../../../src/assistant/qhelpgenerator/qhelpprojectdata_p.h
+ tst_qhelpgenerator.cpp
+ DEFINES
+ QT_USE_USING_NAMESPACE
+ SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ LIBRARIES
+ Qt::HelpPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Help
+ Qt::Sql
+)
diff --git a/tests/auto/qhelpindexmodel/CMakeLists.txt b/tests/auto/qhelpindexmodel/CMakeLists.txt
new file mode 100644
index 000000000..6357488a6
--- /dev/null
+++ b/tests/auto/qhelpindexmodel/CMakeLists.txt
@@ -0,0 +1,17 @@
+# Generated from qhelpindexmodel.pro.
+
+#####################################################################
+## tst_qhelpindexmodel Test:
+#####################################################################
+
+qt_add_test(tst_qhelpindexmodel
+ SOURCES
+ tst_qhelpindexmodel.cpp
+ DEFINES
+ QT_USE_USING_NAMESPACE
+ SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Help
+ Qt::Sql
+)
diff --git a/tests/auto/qhelpprojectdata/CMakeLists.txt b/tests/auto/qhelpprojectdata/CMakeLists.txt
new file mode 100644
index 000000000..6d686128a
--- /dev/null
+++ b/tests/auto/qhelpprojectdata/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from qhelpprojectdata.pro.
+
+#####################################################################
+## tst_qhelpprojectdata Test:
+#####################################################################
+
+qt_add_test(tst_qhelpprojectdata
+ SOURCES
+ ../../../src/assistant/qhelpgenerator/qhelpdatainterface.cpp ../../../src/assistant/qhelpgenerator/qhelpdatainterface_p.h
+ ../../../src/assistant/qhelpgenerator/qhelpprojectdata.cpp ../../../src/assistant/qhelpgenerator/qhelpprojectdata_p.h
+ tst_qhelpprojectdata.cpp
+ DEFINES
+ QT_USE_USING_NAMESPACE
+ SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
+ LIBRARIES
+ Qt::HelpPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Help
+)
diff --git a/tests/auto/qtattributionsscanner/CMakeLists.txt b/tests/auto/qtattributionsscanner/CMakeLists.txt
new file mode 100644
index 000000000..5d3ccf927
--- /dev/null
+++ b/tests/auto/qtattributionsscanner/CMakeLists.txt
@@ -0,0 +1,13 @@
+# Generated from qtattributionsscanner.pro.
+
+#####################################################################
+## tst_qtattributionsscanner Test:
+#####################################################################
+
+qt_add_test(tst_qtattributionsscanner
+ SOURCES
+ tst_qtattributionsscanner.cpp
+)
+
+#### Keys ignored in scope 1:.:.:qtattributionsscanner.pro:<TRUE>:
+# DISTFILES = "testdata/good/minimal/qt_attribution.json" "testdata/good/complete/qt_attribution.json" "testdata/good/expected.json" "testdata/good/expected.error" "testdata/warnings/incomplete/qt_attribution.json" "testdata/warnings/incomplete/expected.json" "testdata/warnings/incomplete/expected.error" "testdata/warnings/unknown/qt_attribution.json" "testdata/warnings/unknown/expected.json" "testdata/warnings/unknown/expected.error"
diff --git a/tests/auto/qtdiag/CMakeLists.txt b/tests/auto/qtdiag/CMakeLists.txt
new file mode 100644
index 000000000..0c6ce3698
--- /dev/null
+++ b/tests/auto/qtdiag/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from qtdiag.pro.
+
+#####################################################################
+## tst_tdiag Test:
+#####################################################################
+
+qt_add_test(tst_tdiag
+ SOURCES
+ tst_qtdiag.cpp
+ DEFINES
+ QT_USE_USING_NAMESPACE
+)
diff --git a/tests/auto/windeployqt/CMakeLists.txt b/tests/auto/windeployqt/CMakeLists.txt
new file mode 100644
index 000000000..5eae1ca16
--- /dev/null
+++ b/tests/auto/windeployqt/CMakeLists.txt
@@ -0,0 +1,4 @@
+# Generated from windeployqt.pro.
+
+add_subdirectory(testapp)
+add_subdirectory(test)
diff --git a/tests/auto/windeployqt/test/CMakeLists.txt b/tests/auto/windeployqt/test/CMakeLists.txt
new file mode 100644
index 000000000..53de8926d
--- /dev/null
+++ b/tests/auto/windeployqt/test/CMakeLists.txt
@@ -0,0 +1,11 @@
+# Generated from test.pro.
+
+#####################################################################
+## tst_windeployqt Test:
+#####################################################################
+
+qt_add_test(tst_windeployqt
+ OUTPUT_DIRECTORY ".."
+ SOURCES
+ ../tst_windeployqt.cpp
+)
diff --git a/tests/auto/windeployqt/testapp/CMakeLists.txt b/tests/auto/windeployqt/testapp/CMakeLists.txt
new file mode 100644
index 000000000..6c9b9c79b
--- /dev/null
+++ b/tests/auto/windeployqt/testapp/CMakeLists.txt
@@ -0,0 +1,14 @@
+# Generated from testapp.pro.
+
+#####################################################################
+## testapp Binary:
+#####################################################################
+
+qt_add_executable(testapp
+ GUI
+ OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
+ SOURCES
+ main.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)