Warning, /rolisteam/rolisteam/src/tests/auto/services/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 cmake_minimum_required(VERSION 3.16) 0002 0003 enable_testing(true) 0004 include_directories( test ) 0005 0006 set(CMAKE_AUTOMOC ON) 0007 set(CMAKE_AUTORCC ON) 0008 0009 set(QT_REQUIRED_VERSION "6.3.0") 0010 find_package(Qt6 ${QT_REQUIRED_VERSION} CONFIG REQUIRED COMPONENTS Test Core) 0011 0012 add_executable(tst_upnp tst_upnp.cpp ../assets/resources.qrc) 0013 target_link_libraries(tst_upnp PUBLIC Qt6::Core Qt6::Test PRIVATE core instantmessaging common_core common_widget common_qml network) 0014 add_test(NAME tst_upnp COMMAND tst_upnp) 0015 0016 add_executable(tst_ipchecker tst_ipchecker.cpp ../assets/resources.qrc) 0017 target_link_libraries(tst_ipchecker PUBLIC Qt6::Core Qt6::Test PRIVATE core instantmessaging common_core common_widget common_qml network helper utils) 0018 target_include_directories(tst_ipchecker PUBLIC ../helper) 0019 add_test(NAME tst_ipchecker COMMAND tst_ipchecker) 0020 0021 add_executable(tst_tipchecker tst_tipchecker.cpp ../assets/resources.qrc) 0022 target_link_libraries(tst_tipchecker PUBLIC Qt6::Core Qt6::Test PRIVATE core instantmessaging common_core common_widget common_qml network helper utils) 0023 target_include_directories(tst_tipchecker PUBLIC ../helper) 0024 add_test(NAME tst_tipchecker COMMAND tst_tipchecker) 0025 0026 add_executable(tst_update tst_update.cpp ../assets/resources.qrc) 0027 target_link_libraries(tst_update PUBLIC Qt6::Core Qt6::Test PRIVATE core instantmessaging common_core common_widget common_qml network helper utils) 0028 target_include_directories(tst_update PUBLIC ../helper) 0029 add_test(NAME tst_update COMMAND tst_update) 0030