mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[cmake] add option to disable platform server
add a new option to disable platform server implementations
This commit is contained in:
committed by
Martin Fleisz
parent
99bf501f0f
commit
3024c1e3b0
@@ -16,10 +16,9 @@
|
||||
# limitations under the License.
|
||||
|
||||
# Servers
|
||||
include(CMakeDependentOption)
|
||||
|
||||
CMAKE_DEPENDENT_OPTION(WITH_SHADOW "Compile with shadow server" ON "WITH_SERVER" OFF)
|
||||
CMAKE_DEPENDENT_OPTION(WITH_PROXY "Compile with proxy server" ON "WITH_SERVER" OFF)
|
||||
option(WITH_SHADOW "Compile with shadow server" ON)
|
||||
option(WITH_PROXY "Compile with proxy server" ON)
|
||||
option(WITH_PLATFORM_SERVER "Compile with platform server" ON)
|
||||
|
||||
add_subdirectory(common)
|
||||
if (WITH_SHADOW)
|
||||
@@ -29,17 +28,17 @@ if (WITH_PROXY)
|
||||
add_subdirectory(proxy)
|
||||
endif()
|
||||
|
||||
if(FREERDP_VENDOR)
|
||||
if(WITH_SAMPLE)
|
||||
add_subdirectory(Sample)
|
||||
endif()
|
||||
if(WITH_SAMPLE)
|
||||
add_subdirectory(Sample)
|
||||
endif()
|
||||
|
||||
if (WITH_PLATFORM_SERVER)
|
||||
if(NOT WIN32)
|
||||
if(APPLE AND (NOT IOS))
|
||||
add_subdirectory(Mac)
|
||||
endif()
|
||||
else()
|
||||
add_subdirectory(Windows)
|
||||
add_subdirectory(Windows)
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED WITH_FREERDS)
|
||||
|
||||
Reference in New Issue
Block a user