diff options
author | Hwankyu Jhun <h.jhun@samsung.com> | 2016-11-11 14:13:26 +0900 |
---|---|---|
committer | Hwankyu Jhun <h.jhun@samsung.com> | 2016-11-11 14:13:26 +0900 |
commit | ca8dd16579d7b7fdf09953cdeb8a10fd9723c248 (patch) | |
tree | 382c5114fba9c6c87d59c36a3ee2569bca6346ad | |
parent | 5844d17eee471c9022a7cd6a70a5958278e5608f (diff) | |
download | aul-1-ca8dd16579d7b7fdf09953cdeb8a10fd9723c248.tar.gz aul-1-ca8dd16579d7b7fdf09953cdeb8a10fd9723c248.tar.bz2 aul-1-ca8dd16579d7b7fdf09953cdeb8a10fd9723c248.zip |
Fix CMakeLists.txt file
- Use AUX_SOURCE_DIRECTORY option
Change-Id: I92c672fa6cf570dee668b561ae91ab5834865c51
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
-rw-r--r-- | CMakeLists.txt | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 77f98995..964b5259 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,6 +2,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6) SET(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true) PROJECT(aul C) +AUX_SOURCE_DIRECTORY(src SOURCES) ADD_DEFINITIONS("-DSHARE_PREFIX=\"${SHARE_INSTALL_PREFIX}/aul\"") IF (with_wayland) @@ -52,29 +53,7 @@ SET(CMAKE_SKIP_BUILD_RPATH true) SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed") # aul -add_library(aul SHARED - src/pkginfo.c - src/launch.c - src/launch_glib.c - src/launch_with_result.c - src/service.c - src/service_db.c - src/mime.c - src/miregex.c - src/app_signal.c - src/key.c - src/status.c - src/aul_path.c - src/app_group.c - src/aul_rsc_mgr.c - src/aul_rsc_mgr_internal.c - src/aul_sock.c - src/aul_proc.c - src/app_com.c - src/aul_error.c - src/widget.c - src/aul_rsm.c - ) +add_library(aul SHARED ${SOURCES}) TARGET_LINK_LIBRARIES(aul ${libpkgs_LDFLAGS}) SET_TARGET_PROPERTIES(aul PROPERTIES SOVERSION ${MAJORVER}) SET_TARGET_PROPERTIES(aul PROPERTIES VERSION ${FULLVER}) |