Warning, /rolisteam/rolisteam/src/tests/auto/instantmessaging/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 cmake_minimum_required(VERSION 3.16)
0002 
0003 include_directories( test )
0004 
0005 set(CMAKE_AUTOMOC ON)
0006 
0007 set(QT_REQUIRED_VERSION "6.3.0")
0008 find_package(Qt6 ${QT_REQUIRED_VERSION} CONFIG REQUIRED COMPONENTS Test Core Widgets Qml Quick)
0009 
0010 set(RESOURCE_FILES ../../../../rolisteam.qrc)
0011 
0012 add_executable(tst_im tst_im.cpp ${RESOURCE_FILES} ${TEST_ROOT_DIR}/auto/assets/resources.qrc)
0013 target_link_libraries(tst_im
0014   PUBLIC
0015     Qt6::Core
0016     Qt6::Test
0017     Qt6::Widgets
0018     Qt6::Qml
0019     Qt6::Quick
0020   PRIVATE
0021     core
0022     instantmessaging
0023     rwidgets
0024     common_core
0025     helper
0026     common_widget
0027     common_qml
0028     qml_views
0029     network
0030     diceparser_qobject
0031     diceparser_shared
0032     charactersheet_widgets
0033     qml_components
0034   )
0035 target_include_directories(tst_im  PUBLIC ../helper )
0036 add_test(NAME tst_im COMMAND tst_im)