CMAKE_MINIMUM_REQUIRED(VERSION 2.6) PROJECT(setting) SET(SETTING_PKG_NAME com.samsung.setting) SET(PREFIX "/opt/apps/com.samsung.setting") SET(BINDIR "${PREFIX}/bin") SET(RESDIR "${PREFIX}/res") SET(DATADIR "${PREFIX}/data") SET(LOCALEDIR "${RESDIR}/locale") SET(ICONDIR "/opt/share/icons/default/small") SET(EDJDIR "${RESDIR}/edje") SET(IMAGEDIR "${RESDIR}/images") #set variable SET(SETTING_PROFILE setting-profile) SET(SETTING_CONNECTIVITY setting-connectivity) SET(SETTING_SECURITY setting-security) SET(SETTING_DISPLAY setting-display) SET(SETTING_TIME setting-time) SET(SETTING_PHONE setting-phone) SET(SETTING_MEMORY setting-memory) SET(SETTING_RESET setting-reset) SET(SETTING_PASSWORD setting-password) SET(SETTING_COMMON setting-common) SET(SETTING_NETWORK setting-network) SET(SETTING_ABOUT setting-about) #SET(SETTING_VIEWTYPE setting-viewtype) #SET(SETTING_MOTION setting-motion) #SET(SETTING_ACCESSIBILITY setting-accessibility) SET(SETTING_MENUSCREEN setting-menuscreen) SET(SETTING_POWERSAVING setting-powersaving) SET(SETTING_FONT setting-font) SET(SETTING_STORAGE setting-storage) SET(SETTING_FILEVIEW setting-fileview) SET(SETTING_LIVEBOX setting-livebox) SET(SETTING_SHORTCUT setting-shortcut) SET(SETTING_DATAUSAGE setting-datausage) #SET(SETTING_DRIVINGMODE setting-drivingmode) SET(SETTING_PROFILE_UG ug-setting-profile-efl) SET(SETTING_DEVELOPEROPTION_UG ug-setting-developeroption-efl) SET(SETTING_MEMORY_UG ug-setting-memory-efl) SET(SETTING_SECURITY_UG ug-setting-security-efl) SET(SETTING_DISPLAY_UG ug-setting-display-efl) SET(SETTING_TIME_UG ug-setting-time-efl) SET(SETTING_PHONE_UG ug-setting-phone-efl) SET(SETTING_RESET_UG ug-setting-reset-efl) SET(SETTING_NETWORK_UG ug-setting-network-efl) SET(SETTING_ABOUT_UG ug-setting-about-efl) SET(SETTING_FILEVIEW_UG ug-setting-fileview-efl) SET(SETTING_LIVEBOX_UG ug-setting-livebox-efl) SET(SETTING_SHORTCUT_UG ug-setting-shortcut-efl) SET(SETTING_PASSWORD_UG ug-setting-password-efl) #SET(SETTING_VIEWTYPE_UG ug-setting-viewtype-efl) #SET(SETTING_MOTION_UG ug-setting-motion-efl) #SET(SETTING_ACCESSIBILITY_UG ug-setting-accessibility-efl) SET(SETTING_MENUSCREEN_UG ug-setting-menuscreen-sel-efl) SET(SETTING_POWERSAVING_UG ug-setting-powersaving-efl) SET(SETTING_FONT_UG ug-setting-font-efl) SET(SETTING_STORAGE_UG ug-setting-storage-efl) SET(SETTING_DATAUSAGE_UG ug-setting-datausage-efl) #SET(SETTING_DRIVINGMODE_UG ug-setting-drivingmode-efl) SET(LIB_SETTING_COMMON setting-common) #setting main view build start INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include) INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/${SETTING_COMMON}/include) ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/${SETTING_COMMON}) ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/${SETTING_STORAGE}) ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/${SETTING_PHONE}) ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/${SETTING_CONNECTIVITY}) ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/${SETTING_DISPLAY}) ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/${SETTING_MEMORY}) ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/${SETTING_NETWORK}) ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/${SETTING_PROFILE}) ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/${SETTING_RESET}) ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/${SETTING_SECURITY}) ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/${SETTING_TIME}) ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/${SETTING_ABOUT}) ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/${SETTING_PASSWORD}) #ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/${SETTING_VIEWTYPE}) #ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/${SETTING_MOTION}) #ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/${SETTING_ACCESSIBILITY}) ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/${SETTING_MENUSCREEN}) ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/${SETTING_POWERSAVING}) ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/${SETTING_FONT}) ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/${SETTING_FILEVIEW}) ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/${SETTING_LIVEBOX}) ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/${SETTING_SHORTCUT}) ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/${SETTING_DATAUSAGE}) #ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/${SETTING_DRIVINGMODE}) ADD_SUBDIRECTORY(src)