CMakeLists.txt 561 Bytes
Newer Older
1
2
include(ECMAddTests)

3
4
5
find_package(Qt5 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Test)
set_package_properties(Qt5Test PROPERTIES PURPOSE "Required for autotests")

6
7
ecm_add_test(
    simpleipv6test.cpp
8
    LINK_LIBRARIES Qt::Test plasmanm_editor
9
10
11
12
)

ecm_add_test(
    simpleipv4test.cpp
13
    LINK_LIBRARIES Qt::Test plasmanm_editor
14
15
16
17
)

ecm_add_test(
    simpleiplisttest.cpp
18
    LINK_LIBRARIES Qt::Test plasmanm_editor
19
)
20

21
22
23
24
25
26
if (WITH_MODEMMANAGER_SUPPORT)
    ecm_add_test(
        mobileproviderstest.cpp
        LINK_LIBRARIES Qt::Test plasmanm_editor
    )
endif()