cmake: build client/server interfaces by default
This commit is contained in:
parent
acf9429b52
commit
37bb2bda8e
@ -79,6 +79,14 @@ if(NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE "Release")
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED WITH_CLIENT_INTERFACE)
|
||||
set(WITH_CLIENT_INTERFACE ON)
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED WITH_SERVER_INTERFACE)
|
||||
set(WITH_SERVER_INTERFACE ON)
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED BUILD_SHARED_LIBS)
|
||||
if(ANDROID OR IOS)
|
||||
set(BUILD_SHARED_LIBS OFF)
|
||||
|
@ -44,3 +44,5 @@ set_complex_link_libraries(VARIABLE ${MODULE_PREFIX}_LIBS
|
||||
|
||||
set(${MODULE_PREFIX}_SRCS ${${MODULE_PREFIX}_SRCS} PARENT_SCOPE)
|
||||
set(${MODULE_PREFIX}_LIBS ${${MODULE_PREFIX}_LIBS} PARENT_SCOPE)
|
||||
|
||||
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "Server/Common")
|
||||
|
Loading…
Reference in New Issue
Block a user