2012-10-19 23:27:55 +04:00
|
|
|
set(OPTION_DEFAULT OFF)
|
2012-10-14 04:55:28 +04:00
|
|
|
|
|
|
|
if(WITH_SAMPLE)
|
2012-10-20 00:47:48 +04:00
|
|
|
set(OPTION_CLIENT_DEFAULT ON)
|
2014-05-07 22:56:49 +04:00
|
|
|
else()
|
|
|
|
set(OPTION_CLIENT_DEFAULT OFF)
|
2012-10-20 00:47:48 +04:00
|
|
|
endif()
|
2014-05-07 22:56:49 +04:00
|
|
|
set(OPTION_SERVER_DEFAULT OFF)
|
2012-10-20 00:47:48 +04:00
|
|
|
|
2012-10-19 23:27:55 +04:00
|
|
|
define_channel_options(NAME "sample" TYPE "static"
|
|
|
|
DESCRIPTION "Sample Virtual Channel Extension"
|
|
|
|
SPECIFICATIONS ""
|
|
|
|
DEFAULT ${OPTION_DEFAULT})
|
2012-09-23 02:08:22 +04:00
|
|
|
|
2012-10-20 00:47:48 +04:00
|
|
|
define_channel_client_options(${OPTION_CLIENT_DEFAULT})
|
|
|
|
define_channel_server_options(${OPTION_SERVER_DEFAULT})
|