CMake options to compile without proxy or shadow
* Added WITH_SHADOW (default ON) to compile without shadow server * Added WITH_PROXY (default ON) to compile without proxy server
This commit is contained in:
parent
929457db4c
commit
83348ef98f
@ -160,8 +160,3 @@ endif(ANDROID)
|
|||||||
if (IOS)
|
if (IOS)
|
||||||
include(ConfigOptionsiOS)
|
include(ConfigOptionsiOS)
|
||||||
endif(IOS)
|
endif(IOS)
|
||||||
|
|
||||||
if (WITH_SERVER)
|
|
||||||
# Proxy Options
|
|
||||||
option(WITH_PROXY_MODULES "Compile proxy modules" OFF)
|
|
||||||
endif()
|
|
||||||
|
@ -16,10 +16,19 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# Servers
|
# 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)
|
||||||
|
CMAKE_DEPENDENT_OPTION(WITH_PROXY_MODULES "Compile proxy modules" ON "WITH_PROXY" OFF)
|
||||||
|
|
||||||
add_subdirectory(common)
|
add_subdirectory(common)
|
||||||
add_subdirectory(shadow)
|
if (WITH_SHADOW)
|
||||||
add_subdirectory(proxy)
|
add_subdirectory(shadow)
|
||||||
|
endif()
|
||||||
|
if (WITH_PROXY)
|
||||||
|
add_subdirectory(proxy)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(FREERDP_VENDOR)
|
if(FREERDP_VENDOR)
|
||||||
if(WITH_SAMPLE)
|
if(WITH_SAMPLE)
|
||||||
|
Loading…
Reference in New Issue
Block a user