mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-15 06:52:15 -07:00
Turn Card, Deck_List, Protocol, RNG, Server, Settings and Utility into libraries and remove cockatrice_common.
Took 6 hours 3 minutes Took 31 seconds
This commit is contained in:
parent
3cff55b0bb
commit
1e4e5a4419
593 changed files with 1913 additions and 1601 deletions
13
libcockatrice_protocol/CMakeLists.txt
Normal file
13
libcockatrice_protocol/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# Top-level wrapper for the protobuf library
|
||||
|
||||
add_subdirectory(libcockatrice/protocol/pb)
|
||||
|
||||
add_library(libcockatrice_protocol_wrapper STATIC)
|
||||
|
||||
# Link the actual generated protobuf library
|
||||
target_link_libraries(libcockatrice_protocol_wrapper PUBLIC libcockatrice_protocol)
|
||||
|
||||
# Expose the pb/ folder so consumers can do #include <libcockatrice/protocol/pb/header.pb.h>
|
||||
target_include_directories(
|
||||
libcockatrice_protocol_wrapper PUBLIC ${CMAKE_CURRENT_BINARY_DIR} # points to the generated headers
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue