mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-24 23:36:01 -05:00
Some checks failed
Build Desktop / Configure (push) Has been cancelled
Build Docker Image / amd64 & arm64 (push) Has been cancelled
Build Desktop / ${{matrix.distro}} ${{matrix.version}} (Debian, DEB, 13) (push) Has been cancelled
Build Desktop / ${{matrix.distro}} ${{matrix.version}} (Debian, DEB, skip, 11) (push) Has been cancelled
Build Desktop / ${{matrix.distro}} ${{matrix.version}} (Debian, DEB, skip, 12) (push) Has been cancelled
Build Desktop / ${{matrix.distro}} ${{matrix.version}} (Fedora, RPM, 42) (push) Has been cancelled
Build Desktop / ${{matrix.distro}} ${{matrix.version}} (Fedora, RPM, skip, 41) (push) Has been cancelled
Build Desktop / ${{matrix.distro}} ${{matrix.version}} (Ubuntu, DEB, 24.04) (push) Has been cancelled
Build Desktop / ${{matrix.distro}} ${{matrix.version}} (Ubuntu, DEB, skip, 22.04) (push) Has been cancelled
Build Desktop / ${{matrix.distro}} ${{matrix.version}} (yes, Arch, skip) (push) Has been cancelled
Build Desktop / macOS ${{matrix.target}}${{ matrix.soc == 'Intel' && ' Intel' || '' }}${{ matrix.type == 'Debug' && ' Debug' || '' }} (1, macos-13, Intel, 13, Release, 14.3.1) (push) Has been cancelled
Build Desktop / macOS ${{matrix.target}}${{ matrix.soc == 'Intel' && ' Intel' || '' }}${{ matrix.type == 'Debug' && ' Debug' || '' }} (1, macos-14, Apple, 14, Release, 15.4) (push) Has been cancelled
Build Desktop / macOS ${{matrix.target}}${{ matrix.soc == 'Intel' && ' Intel' || '' }}${{ matrix.type == 'Debug' && ' Debug' || '' }} (1, macos-15, Apple, 15, Release, 16.2) (push) Has been cancelled
Build Desktop / macOS ${{matrix.target}}${{ matrix.soc == 'Intel' && ' Intel' || '' }}${{ matrix.type == 'Debug' && ' Debug' || '' }} (macos-15, Apple, 15, Debug, 16.2) (push) Has been cancelled
Build Desktop / Windows ${{matrix.target}} (msvc2019_64, 5.15.*, 7) (push) Has been cancelled
Build Desktop / Windows ${{matrix.target}} (msvc2019_64, qtimageformats qtmultimedia qtwebsockets, 6.6.*, 10) (push) Has been cancelled
* move common server files * update includes with move * create participant, move code * fix linker errors * fix regressions * mark function as override to make clang happy * split out spectator to new file * forgot to add to cmakelists * autocompleter picking wrong casing for var name * clean up forwards declarations in player * fix includes in game
50 lines
1.4 KiB
CMake
50 lines
1.4 KiB
CMake
# CMakeLists for common directory
|
|
#
|
|
# provides the common library
|
|
|
|
add_subdirectory(pb)
|
|
|
|
set(common_SOURCES
|
|
abstract_deck_list_card_node.cpp
|
|
abstract_deck_list_node.cpp
|
|
debug_pb_message.cpp
|
|
deck_list_card_node.cpp
|
|
deck_list.cpp
|
|
expression.cpp
|
|
featureset.cpp
|
|
get_pb_extension.cpp
|
|
inner_deck_list_node.cpp
|
|
passwordhasher.cpp
|
|
rng_abstract.cpp
|
|
rng_sfmt.cpp
|
|
server/game/server_abstract_participant.cpp
|
|
server/game/server_arrow.cpp
|
|
server/game/server_arrowtarget.cpp
|
|
server/game/server_card.cpp
|
|
server/game/server_cardzone.cpp
|
|
server/game/server_counter.cpp
|
|
server/game/server_game.cpp
|
|
server/game/server_player.cpp
|
|
server/game/server_spectator.cpp
|
|
server/server.cpp
|
|
server/server_abstractuserinterface.cpp
|
|
server/server_database_interface.cpp
|
|
server/server_protocolhandler.cpp
|
|
server/server_remoteuserinterface.cpp
|
|
server/server_response_containers.cpp
|
|
server/server_room.cpp
|
|
serverinfo_user_container.cpp
|
|
sfmt/SFMT.c
|
|
)
|
|
|
|
set(ORACLE_LIBS)
|
|
|
|
include_directories(pb)
|
|
include_directories(sfmt)
|
|
include_directories(${PROTOBUF_INCLUDE_DIR})
|
|
include_directories(${${COCKATRICE_QT_VERSION_NAME}Core_INCLUDE_DIRS})
|
|
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
add_library(cockatrice_common ${common_SOURCES} ${common_MOC_SRCS})
|
|
target_link_libraries(cockatrice_common PUBLIC cockatrice_protocol)
|