# Copyright (c) 2013 Samsung Electronics Co., Ltd All Rights Reserved # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # # @file Options.cmake # @author Tae-Jeong Lee (taejeong.lee@samsung.com) # # Macro declaration # - WRT_OPTION() : Wrapper omitting description argument from OPTION() command. MACRO(WRT_OPTION feature_name on_off) OPTION(${feature_name} "" ${on_off}) ENDMACRO(WRT_OPTION) # Use Feature # Use a particular optional platform service or third-party library # # Description : # # Author : () - # WRT_OPTION(_USE_ ON/OFF) # Enable Feature # Turn on a specific feature of WRT # # Description : # # Author : () - # WRT_OPTION(_ENABLE_ ON/OFF) # Description : Enable web-provider # Author : Jihoon Chung (jihoon.chung@samsung.com) - 05.31.2014 IF(WEB_PROVIDER_SUPPORT) WRT_OPTION(WRT_ENABLE_WEB_PROVIDER ON) ELSE(WEB_PROVIDER_SUPPORT) WRT_OPTION(WRT_ENABLE_WEB_PROVIDER OFF) ENDIF(WEB_PROVIDER_SUPPORT) # Description : Support pre-launching webapp installation # Author : Tae-Jeong Lee (taejeong.lee@samsung.com) - 11.28.2013 WRT_OPTION(WRT_ENABLE_PRE_LAUNCH OFF)