Warning, /rolisteam/rolisteam/src/tests/auto/controller/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_imagecontroller tst_imagecontrollertest.cpp ../assets/resources.qrc)
0013 target_link_libraries(tst_imagecontroller PUBLIC Qt6::Core Qt6::Test Qt6::Widgets Qt6::Gui PRIVATE core instantmessaging common_core common_widget common_qml utils helper)
0014 target_include_directories(tst_imagecontroller PUBLIC ../helper)
0015 add_test(NAME tst_imagecontroller COMMAND tst_imagecontroller)
0016 
0017 add_executable(tst_pdfcontroller tst_pdfcontrollertest.cpp ../assets/resources.qrc)
0018 target_link_libraries(tst_pdfcontroller PUBLIC Qt6::Core Qt6::Test Qt6::Widgets Qt6::Gui PRIVATE core instantmessaging common_core common_widget common_qml utils helper)
0019 target_include_directories(tst_pdfcontroller PUBLIC ../helper)
0020 add_test(NAME tst_pdfcontroller COMMAND tst_pdfcontroller)
0021 
0022 add_executable(tst_charactersheetcontroller tst_charactersheetcontrollertest.cpp ../assets/resources.qrc)
0023 target_link_libraries(tst_charactersheetcontroller PUBLIC Qt6::Core Qt6::Test Qt6::Widgets Qt6::Gui PRIVATE charactersheet core instantmessaging common_core common_widget common_qml rmindmap utils helper network)
0024 target_include_directories(tst_charactersheetcontroller PUBLIC ../helper)
0025 add_test(NAME tst_charactersheetcontroller COMMAND tst_charactersheetcontroller)
0026 
0027 add_executable(tst_vectorialmapcontroller tst_vectorialmapcontrollertest.cpp ../assets/resources.qrc)
0028 target_link_libraries(tst_vectorialmapcontroller PUBLIC Qt6::Core Qt6::Test Qt6::Widgets Qt6::Gui PRIVATE rmindmap core instantmessaging common_core common_widget common_qml network helper utils helper)
0029 target_include_directories(tst_vectorialmapcontroller  PUBLIC ../helper ../../libraries/mindmap/include)
0030 add_test(NAME tst_vectorialmapcontroller COMMAND tst_vectorialmapcontroller)
0031 
0032 add_executable(tst_profilecontroller tst_profilecontroller.cpp ../assets/resources.qrc)
0033 target_link_libraries(tst_profilecontroller PUBLIC Qt6::Core Qt6::Test Qt6::StateMachine PRIVATE core instantmessaging common_core common_widget common_qml helper network diceparser_qobject diceparser_shared utils helper)
0034 target_include_directories(tst_profilecontroller  PUBLIC ../helper )
0035 add_test(NAME tst_profilecontroller COMMAND tst_profilecontroller)
0036 
0037 add_executable(tst_mindmapsidemenucontroller tst_mindmapsidemenucontroller.cpp ../assets/resources.qrc)
0038 target_link_libraries(tst_mindmapsidemenucontroller PUBLIC Qt6::Core Qt6::Test Qt6::StateMachine PRIVATE core instantmessaging rmindmap common_core common_widget common_qml helper network diceparser_qobject diceparser_shared utils helper)
0039 target_include_directories(tst_mindmapsidemenucontroller  PUBLIC ../helper )
0040 add_test(NAME tst_mindmapsidemenucontroller COMMAND tst_mindmapsidemenucontroller)
0041 
0042 add_executable(tst_sharednotecontroller tst_sharednotecontroller.cpp ../assets/resources.qrc)
0043 target_link_libraries(tst_sharednotecontroller PUBLIC Qt6::Core Qt6::Test Qt6::StateMachine PRIVATE core instantmessaging rmindmap common_core common_widget common_qml helper network diceparser_qobject diceparser_shared utils helper)
0044 target_include_directories(tst_sharednotecontroller  PUBLIC ../helper )
0045 add_test(NAME tst_sharednotecontroller COMMAND tst_sharednotecontroller)
0046 
0047 
0048 add_executable(tst_theme tst_theme.cpp ../assets/resources.qrc)
0049 target_link_libraries(tst_theme PUBLIC Qt6::Core Qt6::Test Qt6::StateMachine PRIVATE core instantmessaging rmindmap common_core common_widget common_qml helper network diceparser_qobject diceparser_shared utils helper)
0050 target_include_directories(tst_theme  PUBLIC ../helper )
0051 add_test(NAME tst_theme COMMAND tst_theme)
0052 
0053 
0054 add_executable(tst_remotelog tst_remotelog.cpp ../assets/resources.qrc)
0055 target_link_libraries(tst_remotelog PUBLIC Qt6::Core Qt6::Test Qt6::StateMachine PRIVATE core instantmessaging rmindmap common_core common_widget common_qml helper network diceparser_qobject diceparser_shared utils helper)
0056 target_include_directories(tst_remotelog  PUBLIC ../helper )
0057 add_test(NAME tst_remotelog COMMAND tst_remotelog)