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:
2
lib_client/CMakeLists.txt
Normal file
2
lib_client/CMakeLists.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
add_main_lib(vcmi_lib_client SHARED)
|
||||
target_compile_definitions(vcmi_lib_client PUBLIC VCMI_LIB_NAMESPACE=LIB_CLIENT)
|
||||
Reference in New Issue
Block a user