Warning, /rolisteam/rolisteam/src/libraries/core/src/network/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 cmake_minimum_required(VERSION 3.16)
0002
0003 project(rolisteamd)
0004
0005
0006 option(UPDATE_TRANSLATIONS "update Translation" OFF)
0007 MESSAGE(STATUS "UPDATE TRANSLATIONS: ${UPDATE_TRANSLATIONS}")
0008
0009 set(CMAKE_INCLUDE_CURRENT_DIR ON)
0010 # Instruct CMake to run moc automatically when needed.
0011 set(CMAKE_AUTOMOC ON)
0012
0013 # Find the QtWidgets library
0014 find_package(Qt6Core)
0015 find_package(Qt6Network)
0016 find_package(Qt6Gui)
0017 set(EXECUTABLE_OUTPUT_PATH bin/)
0018
0019 include_directories(${Qt6Core_INCLUDES} ${Qt6Gui_INCLUDES} ${Qt6Network_INCLUDES} ../)
0020 add_definitions(${Qt6Core_DEFINITIONS} ${Qt6Gui_DEFINITIONS} ${Qt6Network_DEFINITIONS})
0021
0022 set(MODE "cli")
0023
0024 ADD_DEFINITIONS(
0025 -std=c++11 # Or -std=c++0x
0026 # Other flags
0027 )
0028
0029 SET( rolisteamd_sources
0030 main.cpp
0031 tcpclient.cpp
0032 servermanager.cpp
0033 rolisteamdaemon.cpp
0034 connectionprofile.cpp
0035 channelmodel.cpp
0036 )
0037