mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
Changes to single-app build
- client version of library is now always called vcmi, like in regular builds (e.g. libvcmi.so) - server version of library keeps its separate name
This commit is contained in:
parent
538c6e39f9
commit
5e37ad6836
@ -428,13 +428,10 @@ if(APPLE_IOS)
|
||||
endif()
|
||||
|
||||
include(VCMI_lib)
|
||||
add_subdirectory(lib)
|
||||
set(VCMI_LIB_TARGET vcmi)
|
||||
if(BUILD_SINGLE_APP)
|
||||
add_subdirectory(lib_client)
|
||||
add_subdirectory(lib_server)
|
||||
set(VCMI_LIB_TARGET vcmi_lib_client)
|
||||
else()
|
||||
add_subdirectory(lib)
|
||||
set(VCMI_LIB_TARGET vcmi)
|
||||
endif()
|
||||
|
||||
if(ENABLE_ERM)
|
||||
|
@ -1 +1,4 @@
|
||||
add_main_lib(vcmi SHARED)
|
||||
if(BUILD_SINGLE_APP)
|
||||
target_compile_definitions(vcmi PUBLIC VCMI_LIB_NAMESPACE=LIB_CLIENT)
|
||||
endif()
|
||||
|
@ -1,2 +0,0 @@
|
||||
add_main_lib(vcmi_lib_client SHARED)
|
||||
target_compile_definitions(vcmi_lib_client PUBLIC VCMI_LIB_NAMESPACE=LIB_CLIENT)
|
Loading…
Reference in New Issue
Block a user