2012-09-23 02:08:22 +04:00
|
|
|
|
|
|
|
set(CHANNEL_TYPE "static")
|
|
|
|
set(CHANNEL_SHORT_NAME "sample")
|
|
|
|
set(CHANNEL_LONG_NAME "Sample Virtual Channel Extension")
|
|
|
|
set(CHANNEL_SPECIFICATIONS "")
|
|
|
|
|
|
|
|
string(TOUPPER "WITH_${CHANNEL_SHORT_NAME}" CHANNEL_OPTION)
|
2012-10-14 04:55:28 +04:00
|
|
|
|
|
|
|
if(WITH_SAMPLE)
|
|
|
|
option(${CHANNEL_OPTION} "Build ${CHANNEL_SHORT_NAME}" ON)
|
|
|
|
else()
|
|
|
|
option(${CHANNEL_OPTION} "Build ${CHANNEL_SHORT_NAME}" OFF)
|
|
|
|
endif()
|
|
|
|
|
2012-09-23 02:08:22 +04:00
|
|
|
|