CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
PROJECT(message C)
+SET (SETTING_THEME setting_theme)
SET (MSG_UI_SETTING msg_ui_setting)
########################
./src/main/msg-ui-setting-callback.c
./src/main/msg-ui-setting-common-util.c
./src/main/msg-ui-setting-msg-service-wrapper.c
+ ./src/spam/msg-ui-setting-spam-setting.c
+ ./src/spam/msg-ui-setting-spam-block-word.c
+ ./src/spam/msg-ui-setting-spam-block-number.c
./src/text/msg-ui-setting-text-message.c
+ ./src/text/msg-ui-setting-text-service-center.c
+ ./src/multimedia/msg-ui-setting-mm-message.c
+ ./src/multimedia/msg-ui-setting-mm-recv-option.c
)
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_SETTING_DIR}/include
ADD_DEFINITIONS("-DFACTORYFS=\"$ENV{PREFIX}\"")
ADD_DEFINITIONS("-DDATAFS=\"$ENV{DATADIR}\"")
ADD_DEFINITIONS("-DTARGET")
+ADD_DEFINITIONS("-DSLP_PROF")
+
+
+ADD_CUSTOM_TARGET(${SETTING_THEME}.edj
+ COMMAND edje_cc -id ${CMAKE_SOURCE_COMMON_DIR}/data/edc_image
+ ${CMAKE_SOURCE_SETTING_DIR}/theme/${SETTING_THEME}.edc ${CMAKE_SOURCE_SETTING_DIR}/theme/${SETTING_THEME}.edj
+ DEPENDS ${CMAKE_SOURCE_SETTING_DIR}/theme/${SETTING_THEME}.edc
+)
+
+ADD_DEPENDENCIES(${PROJECT_NAME} ${SETTING_THEME}.edj)
+
# Install executable and .edj files.
+INSTALL(FILES ${CMAKE_SOURCE_SETTING_DIR}/theme/${SETTING_THEME}.edj DESTINATION ${EDJDIR})
ADD_LIBRARY(ug-msg-setting-efl SHARED ${SETTING_SRCS})
TARGET_LINK_LIBRARIES(ug-msg-setting-efl ${pkgs_LDFLAGS} -L${CMAKE_SOURCE_COMMON_DIR} -lmsg-common)
-INSTALL(TARGETS ug-msg-setting-efl DESTINATION ${UGDIR})
+INSTALL(TARGETS ug-msg-setting-efl DESTINATION ${UGDIR})
#i18n
#ADD_SUBDIRECTORY(po)