set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)

add_subdirectory(abstract)
add_subdirectory(local)
add_subdirectory(remote)

add_library(libcockatrice_network_client INTERFACE)

target_include_directories(libcockatrice_network_client INTERFACE .)

target_link_libraries(
  libcockatrice_network_client
  INTERFACE ${COCKATRICE_QT_VERSION_NAME}::Network ${COCKATRICE_QT_VERSION_NAME}::WebSockets
            libcockatrice_network_client_abstract libcockatrice_network_client_local
            libcockatrice_network_client_remote
)
