Initialize Tizen 2.3
[framework/web/wrt-commons.git] / examples / dbus / server-example / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.6)
2 project(server-example)
3
4 include(FindPkgConfig)
5
6 pkg_check_modules(DEPS
7                   glib-2.0
8                   gio-2.0
9                   dpl-efl
10                   dpl-dbus-efl
11                   REQUIRED)
12
13 set(TARGET_NAME "server-example")
14
15 set(SRCS
16     server-example.cpp)
17
18 include_directories(${DEPS_INCLUDE_DIRS})
19
20 add_definitions("-std=c++0x")
21 add_definitions("-pedantic")
22 add_definitions("-Wall")
23 add_definitions("-DDPL_LOGS_ENABLED")
24
25 add_executable(${TARGET_NAME} ${SRCS})
26 target_link_libraries(${TARGET_NAME} ${DEPS_LIBRARIES})