summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyunho Kang <hhstark.kang@samsung.com>2016-11-18 10:35:41 +0900
committerHyunho Kang <hhstark.kang@samsung.com>2016-11-18 10:36:26 +0900
commite45d4d52ec1514d1631f8e4d34e20101c13e63bc (patch)
tree005bdaf4f6047e275f840c1e6b04d855706a41d2
parent6b2dc3871b95eace5e7ea4a9c9ff0d8998e3efab (diff)
downloaddata-control-e45d4d52ec1514d1631f8e4d34e20101c13e63bc.tar.gz
data-control-e45d4d52ec1514d1631f8e4d34e20101c13e63bc.tar.bz2
data-control-e45d4d52ec1514d1631f8e4d34e20101c13e63bc.zip
To make extendible for adding source & header files. Change-Id: I36d39cb56714ef744845a15fc9112d20cb99e075 Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
-rw-r--r--CMakeLists.txt18
1 files changed, 2 insertions, 16 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 975c77c..8a89789 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,22 +19,8 @@ ENDFOREACH(flag)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Wall -fPIC -Werror -fvisibility=hidden")
SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
-ADD_LIBRARY (${PROJECT_NAME} SHARED
- src/data-control-bulk.c
- src/data-control-noti.c
- src/data-control-map.c
- src/data-control-sql.c
- src/data-control-sql-cursor.c
- src/data-control-provider.c
- src/data-control-internal.c
- src/data_control_internal.c
- src/data_control_bulk.c
- src/data_control_noti.c
- src/data_control_map.c
- src/data_control_sql.c
- src/data_control_sql_cursor.c
- src/data_control_provider.c
- )
+AUX_SOURCE_DIRECTORY(src SOURCES)
+ADD_LIBRARY (${PROJECT_NAME} SHARED ${SOURCES})
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_LDFLAGS})