Warning, /rolisteam/rolisteam/src/tests/auto/delegate/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 Gui Widgets StateMachine)
0011 
0012 add_executable(tst_actiondelegate tst_actiondelegate.cpp ../assets/resources.qrc)
0013 target_link_libraries(tst_actiondelegate PUBLIC Qt6::Core Qt6::Test Qt6::Widgets Qt6::Gui PRIVATE core rwidgets instantmessaging common_core common_widget common_qml utils helper)
0014 target_include_directories(tst_actiondelegate PUBLIC ../helper)
0015 add_test(NAME tst_actiondelegate COMMAND tst_actiondelegate)
0016 
0017 add_executable(tst_avatardelegate tst_avatardelegate.cpp ../assets/resources.qrc)
0018 target_link_libraries(tst_avatardelegate PUBLIC Qt6::Core Qt6::Test Qt6::Widgets Qt6::Gui PRIVATE core rwidgets instantmessaging common_core common_widget common_qml utils helper)
0019 target_include_directories(tst_avatardelegate PUBLIC ../helper)
0020 add_test(NAME tst_avatardelegate COMMAND tst_avatardelegate)
0021 
0022 add_executable(tst_checkboxdelegate tst_checkbox.cpp ../assets/resources.qrc)
0023 target_link_libraries(tst_checkboxdelegate PUBLIC Qt6::Core Qt6::Test Qt6::Widgets Qt6::Gui PRIVATE charactersheet core rwidgets instantmessaging common_core common_widget common_qml rmindmap utils helper network)
0024 target_include_directories(tst_checkboxdelegate PUBLIC ../helper)
0025 add_test(NAME tst_checkboxdelegate COMMAND tst_checkboxdelegate)
0026 
0027 add_executable(tst_colordelegate tst_color.cpp ../assets/resources.qrc)
0028 target_link_libraries(tst_colordelegate PUBLIC Qt6::Core Qt6::Test Qt6::Widgets Qt6::Gui PRIVATE rmindmap core rwidgets instantmessaging common_core common_widget common_qml network helper utils helper)
0029 target_include_directories(tst_colordelegate  PUBLIC ../helper ../../libraries/mindmap/include)
0030 add_test(NAME tst_colordelegate COMMAND tst_colordelegate)
0031 
0032 add_executable(tst_delegate tst_delegate.cpp ../assets/resources.qrc)
0033 target_link_libraries(tst_delegate PUBLIC Qt6::Core Qt6::Test Qt6::StateMachine PRIVATE core rwidgets instantmessaging common_core common_widget common_qml helper network diceparser_qobject diceparser_shared utils helper)
0034 target_include_directories(tst_delegate  PUBLIC ../helper )
0035 add_test(NAME tst_delegate COMMAND tst_delegate)
0036 
0037 add_executable(tst_imagepathitemdelegate tst_imagepathitem.cpp ../assets/resources.qrc)
0038 target_link_libraries(tst_imagepathitemdelegate PUBLIC Qt6::Core Qt6::Test Qt6::StateMachine PRIVATE core rwidgets instantmessaging rmindmap common_core common_widget common_qml helper network diceparser_qobject diceparser_shared utils helper)
0039 target_include_directories(tst_imagepathitemdelegate  PUBLIC ../helper )
0040 add_test(NAME tst_imagepathitemdelegate COMMAND tst_imagepathitemdelegate)
0041 
0042 add_executable(tst_statedelegate tst_state.cpp ../assets/resources.qrc)
0043 target_link_libraries(tst_statedelegate PUBLIC Qt6::Core Qt6::Test Qt6::StateMachine PRIVATE core rwidgets instantmessaging rmindmap common_core common_widget common_qml helper network diceparser_qobject diceparser_shared utils helper)
0044 target_include_directories(tst_statedelegate  PUBLIC ../helper )
0045 add_test(NAME tst_statedelegate COMMAND tst_statedelegate)
0046 
0047 
0048 add_executable(tst_taglistdelegate tst_taglist.cpp ../assets/resources.qrc)
0049 target_link_libraries(tst_taglistdelegate PUBLIC Qt6::Core Qt6::Test Qt6::StateMachine PRIVATE core rwidgets instantmessaging rmindmap common_core common_widget common_qml helper network diceparser_qobject diceparser_shared utils helper)
0050 target_include_directories(tst_taglistdelegate  PUBLIC ../helper )
0051 add_test(NAME tst_taglistdelegate COMMAND tst_taglistdelegate)
0052 
0053 
0054 add_executable(tst_userlistdelegate tst_userlist.cpp ../assets/resources.qrc)
0055 target_link_libraries(tst_userlistdelegate PUBLIC Qt6::Core Qt6::Test Qt6::StateMachine PRIVATE core rwidgets instantmessaging rmindmap common_core common_widget common_qml helper network diceparser_qobject diceparser_shared utils helper)
0056 target_include_directories(tst_userlistdelegate  PUBLIC ../helper )
0057 add_test(NAME tst_userlistdelegate COMMAND tst_userlistdelegate)