Add CMake tests.

Task-number: QTBUG-41445
Change-Id: Ia3b903aa41d5b8c5de72e9a31ccd37b222e72b5c
Reviewed-by: Stephen Kelly <steveire@gmail.com>
This commit is contained in:
Marcel Krems 2014-10-28 13:45:06 +01:00
parent 4e4e73f100
commit 80823b53d2
3 changed files with 22 additions and 0 deletions

View File

@ -2,3 +2,4 @@ TEMPLATE = subdirs
SUBDIRS += headersclean
SUBDIRS += qftp
SUBDIRS += cmake

View File

@ -0,0 +1,14 @@
cmake_minimum_required(VERSION 2.8)
project(qmake_cmake_files)
enable_testing()
find_package(Qt5Core REQUIRED)
include("${_Qt5CTestMacros}")
test_module_includes(
Ftp QFtp
)

View File

@ -0,0 +1,7 @@
# Cause make to do nothing.
TEMPLATE = subdirs
CMAKE_QT_MODULES_UNDER_TEST = ftp
CONFIG += ctest_testcase