mirror of https://github.com/b4tman/qtftp.git
Add CMake tests.
Task-number: QTBUG-41445 Change-Id: Ia3b903aa41d5b8c5de72e9a31ccd37b222e72b5c Reviewed-by: Stephen Kelly <steveire@gmail.com>
This commit is contained in:
parent
4e4e73f100
commit
80823b53d2
|
@ -2,3 +2,4 @@ TEMPLATE = subdirs
|
||||||
|
|
||||||
SUBDIRS += headersclean
|
SUBDIRS += headersclean
|
||||||
SUBDIRS += qftp
|
SUBDIRS += qftp
|
||||||
|
SUBDIRS += cmake
|
||||||
|
|
|
@ -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
|
||||||
|
)
|
|
@ -0,0 +1,7 @@
|
||||||
|
|
||||||
|
# Cause make to do nothing.
|
||||||
|
TEMPLATE = subdirs
|
||||||
|
|
||||||
|
CMAKE_QT_MODULES_UNDER_TEST = ftp
|
||||||
|
|
||||||
|
CONFIG += ctest_testcase
|
Loading…
Reference in New Issue