2012-10-19 16:47:48 -04:00
|
|
|
set(OPTION_DEFAULT OFF)
|
|
|
|
|
set(OPTION_CLIENT_DEFAULT ON)
|
|
|
|
|
set(OPTION_SERVER_DEFAULT OFF)
|
2012-10-05 18:30:14 -04:00
|
|
|
|
|
|
|
|
if(WIN32)
|
2024-11-27 20:31:31 +01:00
|
|
|
set(OPTION_CLIENT_DEFAULT OFF)
|
|
|
|
|
set(OPTION_SERVER_DEFAULT OFF)
|
|
|
|
|
message("Serial redirection not supported on windows")
|
2012-10-19 16:47:48 -04:00
|
|
|
endif()
|
|
|
|
|
|
2012-10-22 15:03:38 -04:00
|
|
|
if(ANDROID)
|
2024-11-27 20:31:31 +01:00
|
|
|
set(OPTION_CLIENT_DEFAULT OFF)
|
|
|
|
|
set(OPTION_SERVER_DEFAULT OFF)
|
|
|
|
|
message("Serial redirection not supported on android")
|
2012-10-22 15:03:38 -04:00
|
|
|
endif()
|
|
|
|
|
|
2024-11-27 20:31:31 +01:00
|
|
|
if(APPLE)
|
|
|
|
|
set(OPTION_CLIENT_DEFAULT OFF)
|
|
|
|
|
set(OPTION_SERVER_DEFAULT OFF)
|
|
|
|
|
message("Serial redirection not supported on apple")
|
2024-08-26 13:22:58 +02:00
|
|
|
endif()
|
|
|
|
|
|
2024-11-27 20:31:31 +01:00
|
|
|
define_channel_options(
|
|
|
|
|
NAME
|
|
|
|
|
"serial"
|
|
|
|
|
TYPE
|
|
|
|
|
"device"
|
|
|
|
|
DESCRIPTION
|
|
|
|
|
"Serial Port Virtual Channel Extension"
|
|
|
|
|
SPECIFICATIONS
|
|
|
|
|
"[MS-RDPESP]"
|
|
|
|
|
DEFAULT
|
|
|
|
|
${OPTION_DEFAULT}
|
|
|
|
|
)
|
2012-10-19 15:27:55 -04:00
|
|
|
|
2012-10-19 16:47:48 -04:00
|
|
|
define_channel_client_options(${OPTION_CLIENT_DEFAULT})
|
|
|
|
|
define_channel_server_options(${OPTION_SERVER_DEFAULT})
|