summaryrefslogtreecommitdiff
path: root/lib/settings/CMakeLists.txt
blob: 8c056ff37e5653238d43377f2ec8e45c50a7075b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
LINK_DIRECTORIES(${CMAKE_BINARY_DIR})

SET(TARGET ${CT_SETTING})

FILE(GLOB SRCS *.c)

ADD_LIBRARY(${TARGET} SHARED ${SRCS})
SET_TARGET_PROPERTIES(${TARGET} PROPERTIES COMPILE_FLAGS ${EXTRA_CFLAGS})
TARGET_LINK_LIBRARIES(${TARGET} ${COMMON_LIB} ${ug_pkgs_LDFLAGS})

ADD_DEPENDENCIES(${TARGET} contacts_edj_build)

INSTALL(TARGETS ${TARGET} DESTINATION ${UGLIBDIR})