1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

add ability to build VCMI as single process

"Client process -> shared VCMI lib <- Server process" is turned into "shared Client-VCMI lib -> process <- static Server-VCMI lib"
- adds lib_client and lib_server targets that define distinct namespaces
- lib_client is a dynamic library which is shared with AI libs, lib_server is static
This commit is contained in:
Andrey Filipenkov
2022-07-27 12:23:37 +03:00
parent 0a1f824add
commit c6e51852d0
10 changed files with 36 additions and 9 deletions

View File

@@ -0,0 +1,2 @@
add_main_lib(vcmi_lib_client SHARED)
target_compile_definitions(vcmi_lib_client PUBLIC VCMI_LIB_NAMESPACE=LIB_CLIENT)