diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2013-09-04 14:28:07 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-04 15:04:43 +0200 |
commit | 04fc9360f8dd1a6bf4f6afb8c2b52e8039c17716 (patch) | |
tree | 3d263291e261f5c9682f7f702dd177135b2de1a0 /tests | |
parent | 2e164e94d39237ba8103740966017af0aeace5c4 (diff) |
Add CMake test.
Change-Id: Ib5855a9196ce7881ff2a5b26a195e3edfbe954ec
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/auto.pro | 1 | ||||
-rw-r--r-- | tests/auto/cmake/CMakeLists.txt | 18 | ||||
-rw-r--r-- | tests/auto/cmake/cmake.pro | 7 |
3 files changed, 26 insertions, 0 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro index 5661e4d..3cab631 100644 --- a/tests/auto/auto.pro +++ b/tests/auto/auto.pro @@ -1,6 +1,7 @@ TEMPLATE = subdirs SUBDIRS += \ headersclean \ + cmake \ qwinthumbnailtoolbar \ qpixmap \ qwintaskbarbutton diff --git a/tests/auto/cmake/CMakeLists.txt b/tests/auto/cmake/CMakeLists.txt new file mode 100644 index 0000000..c32fbc8 --- /dev/null +++ b/tests/auto/cmake/CMakeLists.txt @@ -0,0 +1,18 @@ + +cmake_minimum_required(VERSION 2.8) + +project(qmake_cmake_files) + +enable_testing() + +find_package(Qt5Core REQUIRED) + +include("${_Qt5CTestMacros}") + +set(qt_module_includes + WinExtras QWinJumpList +) + +test_module_includes( + ${qt_module_includes} +) diff --git a/tests/auto/cmake/cmake.pro b/tests/auto/cmake/cmake.pro new file mode 100644 index 0000000..0afd8fe --- /dev/null +++ b/tests/auto/cmake/cmake.pro @@ -0,0 +1,7 @@ + +# Cause make to do nothing. +TEMPLATE = subdirs + +CMAKE_QT_MODULES_UNDER_TEST = winextras + +CONFIG += ctest_testcase |