mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-10 03:53:26 -08:00
[Server] Share one in-memory database interface across the server tests (#7862)
This commit is contained in:
parent
3a1238a467
commit
9315a4aa6d
10 changed files with 200 additions and 170 deletions
12
libcockatrice_server_dev/CMakeLists.txt
Normal file
12
libcockatrice_server_dev/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
set(HEADERS libcockatrice/server/dev/servatrice_in_memory_database_interface.h)
|
||||
|
||||
add_library(
|
||||
libcockatrice_server_dev STATIC ${HEADERS} libcockatrice/server/dev/servatrice_in_memory_database_interface.cpp
|
||||
)
|
||||
|
||||
target_include_directories(libcockatrice_server_dev PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
target_link_libraries(libcockatrice_server_dev PUBLIC libcockatrice_network_server_remote)
|
||||
|
||||
# Dev-only code: linked by the server tests and the servatrice-dev executable, never by the shipped
|
||||
# servatrice binary.
|
||||
Loading…
Add table
Add a link
Reference in a new issue