summaryrefslogtreecommitdiff
path: root/lib-contact/ct-list/CMakeLists.txt
blob: 3280c7545e8b118b6f4132c5aa7213ba56a1144c (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
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-importer"
	"ct-vcard"
)

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