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

0001 cmake_minimum_required(VERSION 3.16)
0002 project(helper VERSION 1.0.0 DESCRIPTION "Helper component for unit tests")
0003 
0004 set(QT_REQUIRED_VERSION "6.3.0")
0005 find_package(Qt6 ${QT_REQUIRED_VERSION} CONFIG REQUIRED COMPONENTS Core Test HttpServer)
0006 
0007 
0008 set(CMAKE_AUTOMOC ON)
0009 set(CMAKE_AUTORCC ON)
0010 
0011 add_library(helper SHARED helper.cpp helper.h helper_global.h ../assets/resources.qrc )
0012 target_link_libraries(helper PUBLIC Qt6::Core Qt6::Test Qt6::HttpServer PRIVATE core utils network rwidgets charactersheet charactersheet_formula charactersheet_widgets common_core common_qml common_widget diceparser_shared diceparser_qobject
0013 instantmessaging rmindmap utils)
0014 
0015 target_compile_definitions(helper PRIVATE HELPER_LIBRARY)
0016 target_include_directories(helper
0017     PRIVATE
0018         ${CMAKE_CURRENT_SOURCE_DIR}
0019     PUBLIC
0020         $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}
0021         $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)