summaryrefslogtreecommitdiff
path: root/app-control/ct-detail-app/CMakeLists.txt
blob: d761a1882d47b39896244b1a1f5690c9ebc6d00d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
PROJECT(ct-detail-app CXX)

SET(CMAKE_INSTALL_RPATH ${CMAKE_APP_LIB_DIR})
SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)

INCLUDE_DIRECTORIES(
	${CMAKE_SOURCE_DIR}/app-assist-efl/inc
	${CMAKE_SOURCE_DIR}/lib-common/inc
	${CMAKE_SOURCE_DIR}/lib-contact/ct-common/inc
	${CMAKE_SOURCE_DIR}/lib-contact/ct-detail/inc
)

FILE(GLOB SRCS "src/*.cpp")
ADD_EXECUTABLE(${PROJECT_NAME} ${SRCS})
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${TIZEN_PKGS_LDFLAGS}
	"app-assist-efl"
	"ct-detail"
	"ct-list"
	"-pie"
)

INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_APP_BIN_DIR})