summaryrefslogtreecommitdiff
path: root/lib-contact/ct-list/CMakeLists.txt
blob: 5b4bfa35b8978b72f251f2ba662c5a7c5be493d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
PROJECT(ct-list CXX)

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
	${CMAKE_SOURCE_DIR}/lib-contact/ct-importer/inc
	${CMAKE_SOURCE_DIR}/lib-contact/ct-setting/inc
	${CMAKE_SOURCE_DIR}/lib-contact/ct-vcard/inc
	${CMAKE_CURRENT_SOURCE_DIR}/inc
	${CMAKE_CURRENT_SOURCE_DIR}/src
)

FILE(GLOB SRCS "src/*.cpp")
ADD_LIBRARY(${PROJECT_NAME} SHARED ${SRCS})
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${TIZEN_PKGS_LDFLAGS}
	"app-assist-efl"
	"contacts-common"
	"ct-common"
	"ct-detail"
	"ct-importer"
	"ct-vcard"
)

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