X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=CMakeLists.txt;h=361a981b5c2f01421903b7b2df0d7e6a6c45438c;hb=c2619bc1a54b719e88cf7d7d2bd442273649aff9;hp=98baf4da979f5f958853b177c0c8021ea73be91e;hpb=8c242a73c16bd4d205854b39c7886c4f3c0bcf7a;p=platform%2Fcore%2Fuifw%2Ftts.git diff --git a/CMakeLists.txt b/CMakeLists.txt old mode 100755 new mode 100644 index 98baf4d..361a981 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,29 @@ +# Copyright (c) 2011-2014 Samsung Electronics Co., Ltd All Rights Reserved +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# +# @file CMakeLists.txt +# @author Dongyeol Lee (dy3.lee@samsung.com) +# @version 0.1 +# @brief + CMAKE_MINIMUM_REQUIRED(VERSION 2.6) -PROJECT(libtts) +PROJECT(tts) + +SET(PREFIX ${CMAKE_INSTALL_PREFIX}) +SET(EXEC_PREFIX "${PREFIX}") +SET(VERSION 0.2.41) ## Include common directory ## INCLUDE_DIRECTORIES("${CMAKE_SOURCE_DIR}/common") @@ -7,9 +31,17 @@ INCLUDE_DIRECTORIES("${CMAKE_SOURCE_DIR}/common") ## Dependent packages ## INCLUDE(FindPkgConfig) pkg_check_modules(pkgs REQUIRED - mm-player dlog ecore ecore-file dbus-1 mm-session capi-system-runtime-info vconf vconf-internal-keys libtzplatform-config + aul capi-media-audio-io capi-system-info dbus-1 dlog ecore + glib-2.0 libprivilege-control libtzplatform-config libxml-2.0 vconf +) + +pkg_check_modules(pkgs_test REQUIRED + ecore dlog ) +## API ## +ADD_SUBDIRECTORY(include) + ## Client library ## ADD_SUBDIRECTORY(client) @@ -17,4 +49,9 @@ ADD_SUBDIRECTORY(client) ADD_SUBDIRECTORY(server) INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.APLv2 RENAME tts DESTINATION /usr/share/license) -INSTALL(FILES ${CMAKE_SOURCE_DIR}/sysinfo-tts.xml DESTINATION /etc/config) + +## Config ## +INSTALL(FILES ${CMAKE_SOURCE_DIR}/tts-config.xml DESTINATION /usr/lib/voice/tts/1.0) + +## Sample application ## +ADD_SUBDIRECTORY(test)