diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-08-08 15:43:57 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-08-15 10:55:21 +0000 |
commit | 6c56ed31ad32a8e76fc55374bbd3961134c6b01a (patch) | |
tree | 89058959bdb3cebb0bcc2086be2779e8d87eee64 /tests | |
parent | 3d74af5ee50fb949520f64923658a9b30b6bb5c8 (diff) |
Initial CMake port
Task-number: QTBUG-75999
Change-Id: Id47cd7a769a27a6776ced0ce92b89a8bdf4f7da1
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 4 | ||||
-rw-r--r-- | tests/auto/CMakeLists.txt | 19 | ||||
-rw-r--r-- | tests/auto/tst_qtgraphicaleffects.cpp | 1 | ||||
-rw-r--r-- | tests/manual/CMakeLists.txt | 3 | ||||
-rw-r--r-- | tests/manual/smooth/CMakeLists.txt | 45 |
5 files changed, 72 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt new file mode 100644 index 0000000..e4f5f7f --- /dev/null +++ b/tests/CMakeLists.txt @@ -0,0 +1,4 @@ +# Generated from tests.pro. + +add_subdirectory(manual) +add_subdirectory(auto) diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt new file mode 100644 index 0000000..4fec531 --- /dev/null +++ b/tests/auto/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from auto.pro. + +##################################################################### +## tst_qtgraphicaleffects Test: +##################################################################### + +add_qt_test(tst_qtgraphicaleffects + GUI + SOURCES + tst_qtgraphicaleffects.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:auto.pro:<TRUE>: +# CONFIG = "testcase" +# DISTFILES = "dummy.qml" diff --git a/tests/auto/tst_qtgraphicaleffects.cpp b/tests/auto/tst_qtgraphicaleffects.cpp index 7f26b01..d15453f 100644 --- a/tests/auto/tst_qtgraphicaleffects.cpp +++ b/tests/auto/tst_qtgraphicaleffects.cpp @@ -28,6 +28,7 @@ #include <qtest.h> #include <QtCore/qscopedpointer.h> +#include <QtCore/QLibraryInfo> #include <QtQml> class tst_qtgraphicaleffects : public QObject diff --git a/tests/manual/CMakeLists.txt b/tests/manual/CMakeLists.txt new file mode 100644 index 0000000..de858a2 --- /dev/null +++ b/tests/manual/CMakeLists.txt @@ -0,0 +1,3 @@ +# Generated from manual.pro. + +add_subdirectory(smooth) diff --git a/tests/manual/smooth/CMakeLists.txt b/tests/manual/smooth/CMakeLists.txt new file mode 100644 index 0000000..17e88d4 --- /dev/null +++ b/tests/manual/smooth/CMakeLists.txt @@ -0,0 +1,45 @@ +# Generated from smooth.pro. + +##################################################################### +## smooth Binary: +##################################################################### + +add_qt_executable(smooth + GUI + SOURCES + main.cpp + DEFINES + QT_DEPRECATED_WARNINGS + PUBLIC_LIBRARIES + Qt::Gui + Qt::Quick +) + +# Resources: +add_qt_resource(smooth "resources" + PREFIX + "/" + FILES + CellContainer.qml + SourceImage.qml + main.qml + star.png +) + + +#### Keys ignored in scope 1:.:.:smooth.pro:<TRUE>: +# CONFIG = "c++11" +# QML_DESIGNER_IMPORT_PATH = <EMPTY> +# QML_IMPORT_PATH = <EMPTY> + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:smooth.pro:QNX: +# target.path = "/tmp/$${TARGET}/bin" + +#### Keys ignored in scope 4:.:.:smooth.pro:UNIX AND NOT ANDROID: +# target.path = "/opt/$${TARGET}/bin" + +#### Keys ignored in scope 5:.:.:smooth.pro:NOT target.path_ISEMPTY: +# INSTALLS = "target" |