mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-17 16:02:14 -07:00
Move local/remote client and local server files.
Took 32 minutes Took 8 seconds
This commit is contained in:
parent
484e177589
commit
4e7c98829a
47 changed files with 291 additions and 43 deletions
|
|
@ -0,0 +1,31 @@
|
|||
set(CMAKE_AUTOMOC ON)
|
||||
set(CMAKE_AUTOUIC ON)
|
||||
set(CMAKE_AUTORCC ON)
|
||||
|
||||
set(HEADERS
|
||||
local_client.h
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
local_client.cpp
|
||||
)
|
||||
|
||||
if (Qt6_FOUND)
|
||||
qt6_wrap_cpp(MOC_SOURCES ${HEADERS})
|
||||
elseif (Qt5_FOUND)
|
||||
qt5_wrap_cpp(MOC_SOURCES ${HEADERS})
|
||||
endif ()
|
||||
|
||||
add_library(
|
||||
libcockatrice_network_client_local STATIC
|
||||
${MOC_SOURCES}
|
||||
${SOURCES}
|
||||
)
|
||||
|
||||
# add_dependencies(libcockatrice_server libcockatrice_protocol_wrapper)
|
||||
|
||||
target_include_directories(libcockatrice_network_client_local PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
target_link_libraries(
|
||||
libcockatrice_network_client_local PUBLIC ${COCKATRICE_QT_MODULES}
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue