summaryrefslogtreecommitdiff
path: root/phone/CMakeLists.txt
blob: 0b1e0aa2dc052daeef98859f81144a6f45143262 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
SET(SRCS phone.c)

ADD_EXECUTABLE(${PROJECT_NAME} ${SRCS})
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "${EXTRA_CFLAGS} -fpie")
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/lib/ph-front/include)
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/lib/common/include)
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_LDFLAGS} common ug-phone-tabui-efl "-pie")

INSTALL(FILES ${CMAKE_BINARY_DIR}/phone/org.tizen.phone.xml DESTINATION "/usr/share/packages")
INSTALL(FILES icon_${PROJECT_NAME}.png DESTINATION "/usr/share/icons/default/small" RENAME "${PKGNAME}.png")
INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${BINDIR})