diff options
author | jh0522.choi <jh0522.choi@samsung.com> | 2013-08-29 09:59:35 +0900 |
---|---|---|
committer | jh0522.choi <jh0522.choi@samsung.com> | 2013-08-29 09:59:35 +0900 |
commit | 695c1244399b6c8b1983b411ab29ff9122dab56e (patch) | |
tree | 10e9cdf41f7fc865d7836d5599230be296b6ecc1 /CMakeLists.txt | |
parent | d81c876f42a6a62d5137f41b9f066993136efc92 (diff) | |
download | social-695c1244399b6c8b1983b411ab29ff9122dab56e.tar.gz social-695c1244399b6c8b1983b411ab29ff9122dab56e.tar.bz2 social-695c1244399b6c8b1983b411ab29ff9122dab56e.zip |
Generate debuginfo package instead of debug packagesubmit/tizen/20130912.090709accepted/tizen/20130913.030730accepted/tizen/20130912.194021accepted/tizen/20130912.185832
Change-Id: Ia511836c2b493de71767bcd405ecefcf5004733a
Diffstat (limited to 'CMakeLists.txt')
-rwxr-xr-x | CMakeLists.txt | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a8593f6..fa1948d 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,7 +16,7 @@ INCLUDE_DIRECTORIES( src src/inc /usr/include - /usr/include/glib-2.0 + /usr/include/glib-2.0 /usr/lib/glib-2.0/include /usr/include/db-util /usr/include/social @@ -147,29 +147,16 @@ TARGET_LINK_LIBRARIES(${this_target} "-lcontacts-service2" ) TARGET_LINK_LIBRARIES(${this_target} "-laccounts-svc" ) TARGET_LINK_LIBRARIES(${this_target} "-lpthread" ) -SET_TARGET_PROPERTIES(${this_target} - PROPERTIES +SET_TARGET_PROPERTIES(${this_target} + PROPERTIES VERSION ${FULLVER} SOVERSION ${MAJORVER} CLEAN_DIRECT_OUTPUT 1 ) -ADD_CUSTOM_COMMAND(TARGET ${this_target} - POST_BUILD - COMMAND ${CMAKE_COMMAND} -E copy ${LIBRARY_OUTPUT_PATH}/${CMAKE_SHARED_LIBRARY_PREFIX}${this_target}${CMAKE_SHARED_LIBRARY_SUFFIX} ${LIBRARY_OUTPUT_PATH}/debug/${CMAKE_SHARED_LIBRARY_PREFIX}${this_target}${CMAKE_SHARED_LIBRARY_SUFFIX}.${FULLVER} - COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_SHARED_LIBRARY_PREFIX}${this_target}${CMAKE_SHARED_LIBRARY_SUFFIX}.${FULLVER} ${LIBRARY_OUTPUT_PATH}/debug/${CMAKE_SHARED_LIBRARY_PREFIX}${this_target}${CMAKE_SHARED_LIBRARY_SUFFIX}.${MAJORVER} - COMMAND ${CMAKE_STRIP} --strip-unneeded ${LIBRARY_OUTPUT_PATH}/${CMAKE_SHARED_LIBRARY_PREFIX}${this_target}${CMAKE_SHARED_LIBRARY_SUFFIX} - COMMENT "strip ${this_target}" - ) - -INSTALL(DIRECTORY ${LIBRARY_OUTPUT_PATH}/ DESTINATION lib/osp - FILES_MATCHING PATTERN "*.so*" - PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ - GROUP_EXECUTE GROUP_READ - WORLD_EXECUTE WORLD_READ) -INSTALL(DIRECTORY ${LIBRARY_OUTPUT_PATH}/debug/ DESTINATION lib/osp/debug - FILES_MATCHING PATTERN "*.so*" - PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ +INSTALL(DIRECTORY ${LIBRARY_OUTPUT_PATH}/ DESTINATION lib/osp + FILES_MATCHING PATTERN "*.so*" + PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ) |