diff options
author | Jinkun Jang <jinkun.jang@samsung.com> | 2013-03-13 01:37:43 +0900 |
---|---|---|
committer | Jinkun Jang <jinkun.jang@samsung.com> | 2013-03-13 01:37:43 +0900 |
commit | 972fedcd267db9f7212ac0c9f885adc1349e1857 (patch) | |
tree | 867ce236cd85843c5b7b6f616e912d3ae2e018aa /CMakeLists.txt | |
parent | 49f24a8d096e66cccb869a4da0ec38a069eae870 (diff) | |
download | message-app-972fedcd267db9f7212ac0c9f885adc1349e1857.tar.gz message-app-972fedcd267db9f7212ac0c9f885adc1349e1857.tar.bz2 message-app-972fedcd267db9f7212ac0c9f885adc1349e1857.zip |
Tizen 2.1 base
Diffstat (limited to 'CMakeLists.txt')
-rwxr-xr-x | CMakeLists.txt | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100755 index 0000000..d8e2ff7 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,41 @@ +CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +SET(PKGNAME "org.tizen.message") +SET(CMAKE_SOURCE_COMMON_DIR "${CMAKE_SOURCE_DIR}/common") +SET(CMAKE_SOURCE_MAIN_DIR "${CMAKE_SOURCE_DIR}/main") +SET(CMAKE_SOURCE_THREAD_DIR "${CMAKE_SOURCE_DIR}/thread") +SET(CMAKE_SOURCE_BUBBLE_DIR "${CMAKE_SOURCE_DIR}/bubble") +SET(CMAKE_SOURCE_COMPOSER_DIR "${CMAKE_SOURCE_DIR}/composer") +SET(CMAKE_SOURCE_SETTING_DIR "${CMAKE_SOURCE_DIR}/setting") +SET(CMAKE_SOURCE_VIEWER_DIR "${CMAKE_SOURCE_DIR}/viewer") +SET(CMAKE_SOURCE_CLASS0_DIR "${CMAKE_SOURCE_DIR}/class0") +SET(CMAKE_SOURCE_DIALOG_DIR "${CMAKE_SOURCE_DIR}/dialog") + +SET(PREFIX ${CMAKE_INSTALL_PREFIX}) +SET(BINDIR "${PREFIX}/bin") +SET(RESDIR "${PREFIX}/res") +SET(DATADIR ${CMAKE_INSTALL_DATADIR}) +SET(LOCALEDIR "${RESDIR}/locale") +SET(ICONDIR "${RESDIR}/icons/default/small") +SET(IMGDIR "${RESDIR}/images") +SET(EDJDIR "${RESDIR}/edje") +SET(UGDIR "/usr/ug/lib") +SET(LIBDIR "${PREFIX}/lib") + +ADD_DEFINITIONS("-DPREFIX=\"${PREFIX}\"") +ADD_DEFINITIONS("-DRESDIR=\"${RESDIR}\"") +ADD_DEFINITIONS("-DDATADIR=\"${DATADIR}\"") +ADD_DEFINITIONS("-DLOCALEDIR=\"${LOCALEDIR}\"") +ADD_DEFINITIONS("-DICONDIR=\"${ICONDIR}\"") +ADD_DEFINITIONS("-DIMGDIR=\"${IMGDIR}\"") +ADD_DEFINITIONS("-DEDJDIR=\"${EDJDIR}\"") + +SET(CMAKE_LDFLAGS "-Wl,-zdefs" ) + +#Add your submodule directory name +ADD_SUBDIRECTORY(common) +ADD_SUBDIRECTORY(main) +ADD_SUBDIRECTORY(composer) +ADD_SUBDIRECTORY(setting) +ADD_SUBDIRECTORY(viewer) +ADD_SUBDIRECTORY(class0) +ADD_SUBDIRECTORY(dialog) |