Warning, /rolisteam/rolisteam/src/tests/auto/dataCharacter/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_character tst_datacharactertest.cpp ../assets/resources.qrc) 0013 target_link_libraries(tst_character PUBLIC Qt6::Core Qt6::Test PRIVATE core core rwidgets instantmessaging common_core common_widget common_qml network helper) 0014 target_include_directories(tst_character PUBLIC ../helper) 0015 add_test(NAME tst_character COMMAND tst_character)