INSTALL(FILES ${CMAKE_BINARY_DIR}/res/wearable/edje/w-input-stt-button.edj DESTINATION
${INPUTDELEGATOR_RESDIR}/edje/wearable)
+elseif(${TARGET} STREQUAL "tv")
+file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/res/tv/edje)
+ADD_CUSTOM_TARGET(w-input-selector.edj COMMAND edje_cc
+ -id ${CMAKE_CURRENT_SOURCE_DIR}/edje/tv/images
+ ${CMAKE_CURRENT_SOURCE_DIR}/res/tv/edje/w-input-selector.edc
+ ${CMAKE_BINARY_DIR}/res/tv/edje/w-input-selector.edj
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/res/tv/edje/w-input-selector.edc)
+ADD_DEPENDENCIES(${PROJECT_NAME} w-input-selector.edj)
+INSTALL(FILES ${CMAKE_BINARY_DIR}/res/tv/edje/w-input-selector.edj DESTINATION
+${INPUTDELEGATOR_RESDIR}/edje/tv)
+
+ADD_CUSTOM_TARGET(w-input-stt.edj COMMAND edje_cc
+ -id ${CMAKE_CURRENT_SOURCE_DIR}/edje/tv/images
+ ${CMAKE_CURRENT_SOURCE_DIR}/res/tv/edje/w-input-stt.edc
+ ${CMAKE_BINARY_DIR}/res/tv/edje/w-input-stt.edj
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/res/tv/edje/w-input-stt.edc)
+ADD_DEPENDENCIES(${PROJECT_NAME} w-input-stt.edj)
+INSTALL(FILES ${CMAKE_BINARY_DIR}/res/tv/edje/w-input-stt.edj DESTINATION
+${INPUTDELEGATOR_RESDIR}/edje/tv)
+
+ADD_CUSTOM_TARGET(w-input-stt-button.edj COMMAND edje_cc
+ -id ${CMAKE_CURRENT_SOURCE_DIR}/edje/tv/images
+ ${CMAKE_CURRENT_SOURCE_DIR}/res/tv/edje/w-input-stt-button.edc
+ ${CMAKE_BINARY_DIR}/res/tv/edje/w-input-stt-button.edj
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/res/tv/edje/w-input-stt-button.edc)
+ADD_DEPENDENCIES(${PROJECT_NAME} w-input-stt-button.edj)
+INSTALL(FILES ${CMAKE_BINARY_DIR}/res/tv/edje/w-input-stt-button.edj DESTINATION
+${INPUTDELEGATOR_RESDIR}/edje/tv)
+
else()
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/res/mobile/edje)
ADD_CUSTOM_TARGET(w-input-selector.edj COMMAND edje_cc
ADD_DEPENDENCIES(${PROJECT_NAME} w-input-stt-button.edj)
INSTALL(FILES ${CMAKE_BINARY_DIR}/res/mobile/edje/w-input-stt-button.edj DESTINATION
${INPUTDELEGATOR_RESDIR}/edje/mobile)
-
endif()
INSTALL(FILES ${INPUTDELEGATOR_DEFAULT_IMAGES} DESTINATION ${INPUTDELEGATOR_RESDIR}/wearable/images)
FILE(GLOB_RECURSE INPUTDELEGATOR_DEFAULT_IMAGES "${CMAKE_CURRENT_SOURCE_DIR}/res/wearable/images/emoticons/*.png")
INSTALL(FILES ${INPUTDELEGATOR_DEFAULT_IMAGES} DESTINATION ${INPUTDELEGATOR_RESDIR}/wearable/images/emoticons)
+elseif(${TARGET} STREQUAL "tv")
+FILE(GLOB_RECURSE INPUTDELEGATOR_DEFAULT_IMAGES "${CMAKE_CURRENT_SOURCE_DIR}/res/tv/images/*.png")
+INSTALL(FILES ${INPUTDELEGATOR_DEFAULT_IMAGES} DESTINATION ${INPUTDELEGATOR_RESDIR}/tv/images)
+FILE(GLOB_RECURSE INPUTDELEGATOR_DEFAULT_IMAGES "${CMAKE_CURRENT_SOURCE_DIR}/res/tv/images/emoticons/*.png")
+INSTALL(FILES ${INPUTDELEGATOR_DEFAULT_IMAGES} DESTINATION ${INPUTDELEGATOR_RESDIR}/tv/images/emoticons)
else()
FILE(GLOB_RECURSE INPUTDELEGATOR_DEFAULT_IMAGES "${CMAKE_CURRENT_SOURCE_DIR}/res/mobile/images/*.png")
INSTALL(FILES ${INPUTDELEGATOR_DEFAULT_IMAGES} DESTINATION ${INPUTDELEGATOR_RESDIR}/mobile/images)
INSTALL(FILES ${INPUTDELEGATOR_DEFAULT_IMAGES} DESTINATION ${INPUTDELEGATOR_RESDIR}/mobile/images/emoticons)
endif()
-ADD_SUBDIRECTORY(po)
\ No newline at end of file
+ADD_SUBDIRECTORY(po)
if (_WEARABLE) {
stt_edj_path = stt_edj_path + STT_EDJ_FILE_WEARABLE;
app_edj_path = app_edj_path + APP_EDJ_FILE_WEARABLE;
- } else if (_MOBILE) {
+ } else if (_TV) {
+ stt_edj_path = stt_edj_path + STT_EDJ_FILE_TV;
+ app_edj_path = app_edj_path + APP_EDJ_FILE_TV;
+ } else {
stt_edj_path = stt_edj_path + STT_EDJ_FILE_MOBILE;
app_edj_path = app_edj_path + APP_EDJ_FILE_MOBILE;
}
string path = get_resource_path();
if (_WEARABLE)
path = path + "wearable/";
+ else if (_TV)
+ path = path + "tv/";
else
path = path + "mobile/";
string path = get_resource_path();
if (_WEARABLE)
path = path + "wearable/";
+ else if (_TV)
+ path = path + "tv/";
else
path = path + "mobile/";
string path = get_resource_path();
if (_WEARABLE)
path = path + "wearable/";
+ else if (_TV)
+ path = path + "tv/";
else
path = path + "mobile/";
string path_ic = path + "/images/toast_check_icon.png";
string edj_path = get_resource_path();
if(_WEARABLE)
edj_path = edj_path + STT_EDJ_FILE_WEARABLE;
+ else if (_TV)
+ edj_path = edj_path + STT_EDJ_FILE_TV;
else
edj_path = edj_path + STT_EDJ_FILE_MOBILE;
//layout
string edj_path = get_resource_path();
if(_WEARABLE)
edj_path = edj_path + STT_EDJ_FILE_WEARABLE;
+ else if (_TV)
+ edj_path = edj_path + STT_EDJ_FILE_TV;
else
edj_path = edj_path + STT_EDJ_FILE_MOBILE;
string edj_path = get_resource_path();
if(_WEARABLE)
edj_path = edj_path + STT_EDJ_FILE_WEARABLE;
+ else if (_TV)
+ edj_path = edj_path + STT_EDJ_FILE_TV;
else
edj_path = edj_path + STT_EDJ_FILE_MOBILE;