diff options
author | juho <juho80.son@samsung.com> | 2012-08-22 16:26:22 +0900 |
---|---|---|
committer | juho <juho80.son@samsung.com> | 2012-08-22 16:26:22 +0900 |
commit | b6c8e9cede3881773890a622d73adf8331c1dbc9 (patch) | |
tree | f11d59c1ab962cc838229d7dda9fdf0e6ffd20e6 /CMakeLists.txt | |
parent | 1cfb7d9b5e1e79b51848aaa6ab0d0bb7adb8ecdf (diff) | |
download | crash-worker-sdk-master.tar.gz crash-worker-sdk-master.tar.bz2 crash-worker-sdk-master.zip |
tizen 2.0 mergedHEADsubmit/master/20120920.1511562.0_alphamaster
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 973adda..0259847 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,16 +8,16 @@ SET(SRCS ) SET(VENDOR "tizen") -SET(PACKAGE ${PROJECT_NAME}) -SET(PKGNAME "org.${VENDOR}.${PACKAGE}") +SET(PACKAGE "crash-worker") +SET(PKGNAME "org.tizen.crash-worker") SET(EXENAME "crash-worker") SET(PREFIX ${CMAKE_INSTALL_PREFIX}) -SET(BINDIR "${PREFIX}/bin") -SET(RESDIR "${PREFIX}/res") +SET(BINDIR "${PREFIX}/apps/${PKGNAME}/bin") +SET(RESDIR "${PREFIX}/apps/${PKGNAME}/res") SET(DATADIR "${PREFIX}/data") SET(LOCALEDIR "${RESDIR}/locale") -SET(ICONDIR "${RESDIR}/icons/default/small") -SET(IMAGEDIR "${RESDIR}/images/${PACKAGE}") +SET(ICONDIR "${PREFIX}/share/icons/default/small") +SET(IMAGEDIR "${RESDIR}/images/crash-worker") SET(EDJDIR "${RESDIR}/edje") IF("${CMAKE_BUILD_TYPE}" STREQUAL "") @@ -73,12 +73,10 @@ SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--as-needed") ADD_EXECUTABLE(${EXENAME} ${SRCS}) TARGET_LINK_LIBRARIES(${EXENAME} ${pkgs_LDFLAGS}) +INSTALL(TARGETS ${EXENAME} DESTINATION ${BINDIR}) -INSTALL(TARGETS ${EXENAME} DESTINATION /usr/bin) - -# install desktop file & icon -CONFIGURE_FILE(${PKGNAME}.desktop.in ${CMAKE_BINARY_DIR}/${PKGNAME}.desktop) -INSTALL(FILES ${CMAKE_BINARY_DIR}/${PKGNAME}.desktop DESTINATION /opt/share/applications) +# install xml file & icon +INSTALL(FILES ${CMAKE_SOURCE_DIR}/${PKGNAME}.xml DESTINATION ${PREFIX}/share/packages) INSTALL(FILES ${CMAKE_SOURCE_DIR}/${PKGNAME}.png DESTINATION ${ICONDIR}) # data |