1 CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
4 SET (MSG_UI_SETTING msg_ui_setting)
6 ########################
7 # Message Setting List #
8 ########################
10 ./src/main/msg-ui-setting-gadget.c
11 ./src/main/msg-ui-setting-main.c
12 ./src/main/msg-ui-setting-callback.c
13 ./src/main/msg-ui-setting-common-util.c
14 ./src/main/msg-ui-setting-msg-service-wrapper.c
15 ./src/main/msg-ui-setting-font-size.c
16 ./src/general/msg-ui-setting-general-setting.c
17 ./src/general/msg-ui-setting-general-block-message.c
18 ./src/text/msg-ui-setting-text-message.c
19 ./src/text/msg-ui-setting-text-service-center.c
20 ./src/multimedia/msg-ui-setting-mm-message.c
21 ./src/multimedia/msg-ui-setting-mm-recv-option.c
24 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_SETTING_DIR}/include
25 ${CMAKE_SOURCE_MAIN_DIR}
26 ${CMAKE_SOURCE_COMMON_DIR}
27 /usr/include/msg-service/
31 FOREACH(flag ${pkgs_CFLAGS})
32 SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
35 SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS}")
37 ADD_DEFINITIONS("-DFACTORYFS=\"$ENV{PREFIX}\"")
38 ADD_DEFINITIONS("-DDATAFS=\"$ENV{DATADIR}\"")
39 ADD_DEFINITIONS("-DTARGET")
40 ADD_DEFINITIONS("-DSLP_PROF")
43 # Install executable and .edj files.
44 ADD_LIBRARY(ug-msg-setting-efl SHARED ${SETTING_SRCS})
45 TARGET_LINK_LIBRARIES(ug-msg-setting-efl ${pkgs_LDFLAGS} -L${CMAKE_SOURCE_COMMON_DIR} -lmsg-common)
47 INSTALL(TARGETS ug-msg-setting-efl DESTINATION ${UGDIR})